Ismael Ojeda wrote: > my computer is a AMD semprom 3300+ with windows XP Home edition, > Service pack 2, > > I just Install JDK 1.6.0 and eclipse 5.10.52, after compiling, in > ms-dos "cmd" with: > > * javac -classpath c:/program > files/java/jdk1.6.0/src.zip;c:/program > files/eclipsev510/lib/eclipse.jar quicktest.java* > ** > and for running: > > * java -Declipse.directory="c:/program files/eclipsev510" * > * -classpath c:/program > files/java/jdk1.6.0/src.zip;c:/program files/eclipsev510/eclipse.jar > quicktest* > > and return: > > * Exception in thread "main" java.lang.NoClassDefFoundError: > quicktest* You need to add a "." to the classpath when running: java -Declipse.directory="c:/program files/eclipsev510" -classpath .;"c:/program files/eclipsev510/eclipse.jar" quicktest -- JoachimReceived on Wed Mar 07 2007 - 01:45:33 CET
This archive was generated by hypermail 2.2.0 : Thu Feb 02 2012 - 02:31:57 CET