i get this error msg when i try to run my applet..
exception in thread 'main' java.lang.NoClassDefFound Errors:
help pls..
error msg
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
Re: error msg
There's something wrong with your classpath. Make sure the <tt>.class</tt> file is in your classpath.
You're also in the wrong forum. Your question should have been posted <a href="http://www.textpad.com/forum/list.php?f=2">here</a>.
Regards,
HY
You're also in the wrong forum. Your question should have been posted <a href="http://www.textpad.com/forum/list.php?f=2">here</a>.
Regards,
HY
Re: error msg
where can i change the classpath? i have just stared learning java recently.
thanx for all the help i can get...
thanx for all the help i can get...
Re: error msg
Configure --> Preferences --> Tools --> Run Java Applet
In the Parameters box, add "-classpath [classpath here]" just before $BaseName.
OK?
In the Parameters box, add "-classpath [classpath here]" just before $BaseName.
OK?
Re: error msg
what do I type in [classpath] ? where the Java. exe,appletviewer.exe...resides..?
thanx
thanx
Re: error msg
which would change everytime with new project rite ? so we should set them everytime ?
thanx
thanx
Re: error msg
If you set "-classpath ." (full stop character), you don't have to change it everytime.