Ongoing bsh interface problem
Glenn Murray <[email protected]>
| Newsgroups | gmane.emacs.jdee |
|---|---|
| Message-ID | <[email protected]> |
Hi,
The jde package on Debian has been more or less broken the last
several years and I thought I would have a go at fixing it.
The major problem is with bsh. I am using Debian Testing with JDEE
2.3.5 and BeanShell 2.0b4. In a default install, an attempt to
compile a "Hello World" program with C-c C-v C-c results in the
following error:
Starting the BeanShell. Please wait...
Beanshell expression evaluation error.
Expression: jde.util.JdeUtilities.setProjectValues("", "");
Error: // Error: EvalError: Class or variable not found:
jde.util.JdeUtilities : at Line: 1 : in file: <unknown file> : jde
.util .JdeUtilities .setProjectValues ( "" , "" )
[2 times]
bsh: Beanshell eval error. See messages buffer for details.
Thinking this was a classpath error, I did "export
CLASSPATH=/usr/share/java/jde.jar" and restarted Emacs. This time C-c
C-v C-c gave me a compile buffer which contained:
Updating class list for /home/glenn
CompileServer output:
-classpath /usr/share/java/jde.jar /home/glenn/Test.java Cannot read
contents of
/home/glenn/.wine/dosdevices/z: /usr/share/wine/skel/dosdevices/f:
/skel/dosdevices/f: /skel/dosdevices/f: /skel/dosdevices/f:
/skel/dosdevices/f: /skel/dosdevices/f: /skel/dosdevices/f:
/skel/dosdevices/f: /skel/dosdevices/f: /skel/dosdevices/f:
/skel/dosdevices/f: /skel/dosdevices/f: /skel/dosdevices/f:
/skel/dosdevices/f: /skel/dosdevices/f: /skel/dosdevices/f:
/skel/dosdevices/f: /skel/dosdevices/f: /skel/dosdevices/f:
/skel/dosdevices/f: /skel/dosdevices/f: /skel/dosdevices/f:
/skel/dosdevices/f: /skel/dosdevices/f: /skel/dosdevices/f:
/skel/dosdevices/f: /skel/dosdevices/f: /skel/dosdevices/f:
/skel/dosdevices/f: /skel/dosdevices/f: /skel/dosdevices/f:
/skel/dosdevices/f: /skel/dosdevices/f: /skel/dosdevices/f:
/skel/dosdevices/f: /skel/dosdevices/f: /skel/dosdevices/f:
/skel/dosdevices/f: /skel/dosdevices/z: /var/lib/kdm.
Cannot read contents of
/home/glenn/.wine/dosdevices/z:/usr/share/wine/skel/dosdev
(Repeats with some variations many times)
Adding the current directory to the CLASSPATH helps: export
CLASSPATH="./:/usr/share/java/jde.jar" will make the compilation
worked once, but not again. After it finishes compiling, it says
"Updating class list for /home/glenn" and hangs there for some minutes
while the hard drive grinds away. A second attempt at compilation
gives the repeated error message above. It seems to be traversing the
file system. Run it again and get
CompileServer output:
-classpath /home/glenn/:/usr/share/java/jde.jar /home/glenn/Test.java
The system is out of resources.
Consult the following stack trace for details.
java.lang.OutOfMemoryError: Java heap space
Compilation exited abnormally with code 3 at Wed Mar 8 16:49:42
Does anybody have any idea what is going on here?
Thanks,
Glenn