Howto fix the java.lang.NoClassDefFoundError error

Using the Java SDK with TextPad

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

Post Reply
flyingember
Posts: 1
Joined: Wed Sep 03, 2003 5:41 pm

Howto fix the java.lang.NoClassDefFoundError error

Post by flyingember »

If you are still getting this problem two things seem to work about all else

do not change settings within textpad.

your classpath needs to have a . in it, that does the current directory of the file first for the class file.

The second is that you must have a path to a java bin folder that does not have any spaces in it at all, this means no "program files" usage.

try these two things first, they worked for me when nothing else did.

textpad 4.71
irishbloke
Posts: 3
Joined: Thu Dec 04, 2003 6:56 pm

Post by irishbloke »

can u post examples on how to do this as i keep getting that error?
Post Reply