class not found problem running sisc in emacs
"Kjetil S. Matheussen" <[email protected]> Tue, 19 Jun 2007 22:19:09 +0200 (CEST)
| Newsgroups | gmane.comp.java.sisc.user |
|---|---|
| Message-ID | <Pine.LNX.4.64.0706192203050.9154@ttleush> |
Hi,
When running Sisc inside Emacs, it can not find my classes:
(import s2j)
(java-class 'atest)
=> Error in java/class: class atest not found
Is there a way I can force sisc to find my classes? I have tried the
following (without luck):
1. (class-path-extension-append! (list "file:/home/kjetil/hurtigmixer/src/"))
2. Adding /home/kjetil/hurtigmixer/src/ to the CLASSPATH in the script
starting sisc.
3. Adding /home/kjetil/hurtigmixer/src/ to the -classpath argument in the
script starting sisc.
4. Removing any arguments that might have been passed on from emacs when
starting sisc.
5. Evaluating (cd "/home/kjetil/hurtigmixer/src/") in emacs-lisp before
starting sisc.
6. Starting emacs like this: "cd /home/kjetil/hurtigmixer/src && emacs"
7. Search the internet for solutions.
It used to work before, and I recently upgraded emacs to 21.4.2. My
previous version was probably 21.4.1 or something. Earlier it was enough
to load a file in the directory where my classes are before starting sisc
inside emacs. This doesn't seem to work anymore.
I guess I can downgrade emacs (although it takes a bit of time to compile
up), but I'm afraid that the problem might show up again. (it might not
work to downgrade either).
Any ideas what to do? I'm running out of them here.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/