java.lang.NoClassDefFoundError

Using the Java SDK with TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
tmc1000
Posts: 1
Joined: Thu Jun 26, 2003 11:31 pm

java.lang.NoClassDefFoundError

Post 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
anderson
Posts: 1
Joined: Wed Aug 27, 2003 9:18 pm

'noclassdeffounderror'

Post 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.
Post Reply