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.3.0 : Wed Sep 25 2024 - 15:13:20 CEST