Page 1 of 1

java.lang.NoClassDefFoundError

Posted: Thu Jun 26, 2003 11:36 pm
by tmc1000
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

'noclassdeffounderror'

Posted: Wed Aug 27, 2003 9:21 pm
by anderson
The 'noclassdeffounderror' does not seems to be resolved. I think that TextPad should provide a solution to this common problem. Most of us do not have time to resolve this problem. I am going to use SunOne IDE from Sun Microsystems.