help needed compiling java application

From: Geiregat Jonas (eniac_at_sdf-eu.org)
Date: 04/28/04


Date: Wed, 28 Apr 2004 01:35:18 +0200

I do the following to compile my application:

export
CLASSPATH=/usr/share/java-gnome/lib/gtk0.8.jar:/usr/share/java-gnome/lib/gnome0.8.jar:/usr/share/java-gnome/lib/glade0.8.jar:/usr/share/java-gnome/lib/gconf0.8.jar:/usr/share/java-gnome/lib/gnomevte0.8.jar:/usr/share/java-gnome/lib/gtkhtml0.8.jar

javac First.java
java First
Exception in thread "main" java.lang.NoClassDefFoundError: First/java



Relevant Pages

  • Re: Learning JAVA need help
    ... I also tried to run the compile from the command line using the command ... Exception in thread "main" java.lang.NoClassDefFoundError: ... The exception is thrown by the javac command and not by your ...
    (comp.lang.java.help)
  • JRE and foo.jar
    ... I'd like to know how to un-jar foo.jar from the command line, ... Exception in thread "main" java.lang.NoClassDefFoundError: jedit41install/jar ... javac at mail dot com ...
    (Fedora)
  • getting error: java.lang.NoClassDefFoundError
    ... im starting out in java and i'm getting the error: Exception in thread ... "main" java.lang.NoClassDefFoundError: blurf ... if i run "javac blurf.java", it compiles fine and without any troubles. ...
    (comp.lang.java)
  • getting error: java.lang.NoClassDefFoundError
    ... im starting out in java and i'm getting the error: Exception in thread ... "main" java.lang.NoClassDefFoundError: blurf ... if i run "javac blurf.java", it compiles fine and without any troubles. ...
    (comp.lang.java.programmer)