+ 1

I'm getting this error when trying to compile the exampleprogram file- java/lang/NoClassDefFoundError: java/langObject

what does this mean and how do I fix it?

5th Dec 2016, 8:31 PM
Wayne Porter
Wayne Porter - avatar
4 Answers
+ 1
The problem comes from an improper java installation (e.g. an installation done without admin rights or by simply unzipping tools.zip).You can either uninstall, then reinstall Java with an installer and/or more privileges.
5th Dec 2016, 8:41 PM
Vipul Walia
Vipul Walia - avatar
+ 1
OK, do I need to reinstall from the website, or just do it from my downloads section. when trying to save the Java file I was unable to save it to notepad++ telling me I needed admin permission, but I am the admin...
5th Dec 2016, 8:43 PM
Wayne Porter
Wayne Porter - avatar
0
I think you need to right click on it then run as admin gives the privileges
5th Dec 2016, 8:44 PM
Vipul Walia
Vipul Walia - avatar
0
Remember to pay attention to include the correct java executable on the global PATH environment variable.
5th Dec 2016, 8:46 PM
Vipul Walia
Vipul Walia - avatar