Page 1 of 1

textpad and java

Posted: Sun Oct 26, 2003 12:46 pm
by eddiemoe
after compiling simple programs ie hello world, once u try to run the program from run java application i get the error exception in thread "main" java.lang.noClassDefFoundError......
it is strange because it was working with programs b4
any ideas?????????????????????????????????????????????????????//

Posted: Sun Oct 26, 2003 7:17 pm
by talleyrand
Post your code?
I suspect if it runs fine from the command prompt but not in TP the current working directory is not being passed to the classpath variable.

Posted: Mon Oct 27, 2003 9:13 am
by eddiemoe
thanks i got it going by doing a system restore to the first time it was installed, i reran blaster the worm removal software, i think that may have altered the path, thanks anyway