Page 1 of 1

Howto fix the java.lang.NoClassDefFoundError error

Posted: Wed Sep 03, 2003 5:45 pm
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

Posted: Mon Dec 08, 2003 1:50 pm
by irishbloke
can u post examples on how to do this as i keep getting that error?