java.lang.NoClassDefFoundError
Posted: Thu Jun 26, 2003 11:36 pm
Hello
I have found many posts with this same problem but none of the sollution seem to work for me. Whenever I try to compile simple programs I get the following error.
java.lang.NoClassDefFoundError: com/sun/tools/javac/Main
Exception in thread "main"
Tool completed with exit code 1
The sollutions were to change the classpath and this is what my classpath and path looks like.
set CLASSPATH=.;C:\;C:\programs;C:\ServletDevel;jakarta-tomcat-4.1.24-LE-jdk14\common\lib\servlet.jar;
PATH=C:\j2sdk1.4.1_02\bin;
As you can see I have the "." in there but I still can not compile anything.
Any suggestions?
Please help.
Thanks,
Todd
I have found many posts with this same problem but none of the sollution seem to work for me. Whenever I try to compile simple programs I get the following error.
java.lang.NoClassDefFoundError: com/sun/tools/javac/Main
Exception in thread "main"
Tool completed with exit code 1
The sollutions were to change the classpath and this is what my classpath and path looks like.
set CLASSPATH=.;C:\;C:\programs;C:\ServletDevel;jakarta-tomcat-4.1.24-LE-jdk14\common\lib\servlet.jar;
PATH=C:\j2sdk1.4.1_02\bin;
As you can see I have the "." in there but I still can not compile anything.
Any suggestions?
Please help.
Thanks,
Todd