NoClassDefFoundError
Brought to you by:
red-robin
I’m getting an exception when trying to run a jython
program in JyDT:
Exception in thread "main"
java.lang.NoClassDefFoundError:
org/gnu/readline/ReadlineLibrary
Hmm, the obvious thing to do is to add
libreadline-java.jar to the classpath. In fact, that’s
what I’ve done in the Classpath tab in the respective
program’s run configuration.
JDK: 1.5.0_04
Jython: 2.1
Eclipse: 3.1.0
System: Linux (Debian)
Logged In: YES
user_id=1288732
Please provide the project properties, so that I have more
information to look for a problem. Or maybe send some code
or the project that reveals the problem.
Thanks.
Logged In: YES
user_id=132590
My example project is not going to help, I’m afraid, as it’s
basically empty.
One thing that I thought of: The Jython docs mention a
property called “python.console” that can be set such that
an “alternative console class that supports GNU readline”
is used (which then needs the readline library, of course).
Perhaps Debian’s Jython uses this setting by default somehow?