on 08-02-2005 7:49 PM
I think I need to reload NWDS on my laptop. I just attended the 2005 CRM Boot Camp and they had us load, unload, reload stuff on our laptops so many times that it doesnt look anything like it did.
In order to use my NWDS, I had to pull down J2SE 1.4.2_08 from Sun.com. And now it seems to compile my java file but cant seem to run or debug them. I keep getting:
java.lang.NoClassDefFoundError: KensApplication
Exception in thread "main"
The class files are getting created and the same source works on another system.
Whats the best way to reload NWDS and co. ??
Hi Ken,
I think you do not need to reload NWDS and Co. , But you have to set your CLASSPATH. Put the folder into CLASSPATH where all your .class files are stored.
Hope it helps.
Regards,
Narinder Singh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Folks,
Abdul Razack solved the problem.
For some reason the Run / Debug dialog boxes listed my mainclass with just the application name - not "package.appname" like it needed. (and like NWDS has done correctly before - go figure)
Thanks for your help.
Is there any way to award Abdul the points?
Ken
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ken,
This is a common problem with NWDS.You have set your classpath in your "lib" folder on your project structure in order the application to compile without errors.
Since you say you can compile ur java file w/o any error the problem lies in loading your JRE(Java runtime environment) in to your "lib" folder.I think once you have your JRE running your java file will run w/o any problem.
Regards,
guru
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.