Menu

#9 NoClassDefFoundError

open
None
5
2006-02-23
2006-02-17
No

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)

Discussion

  • Red Robin

    Red Robin - 2006-02-23
    • assigned_to: nobody --> red-robin
     
  • Red Robin

    Red Robin - 2006-05-16

    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.

     
  • Michael Piefel

    Michael Piefel - 2006-06-06

    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?

     

Log in to post a comment.