SourceForge has been redesigned. Learn more.

How to run JODE?

  • Jack Tripper

    Jack Tripper - 2004-02-07

    C:\>set CLASSPATH=c:\decompiler

    C:\>java jode.decompiler.Main --help
    Exception in thread "main" java.lang.NoClassDefFoundError: jode/decompiler/Main

    i'm fresh out of ideas.

    In seven years, i have never been able to run a java program.

    • Bernard Farrell

      Bernard Farrell - 2004-02-08

      The directions are on the page:

      Your classpath needs to contain the name of the jar files required, not just the directory in which the jar file is placed.

      Also please note that you must point to the jar file containing the Swing libraries. That should be in the directory into which you downloaded your Java environment.

      I share your frustration with Java and trying to run the programs. Often it's seems counterintuitive as to which directory you must be in relative to the classpath. You will probably find the short lesson at:

      useful as it explains (with screen shots) how to create, compile, and run a Java program in different environments.

      I hope this helps.



Log in to post a comment.