+ 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?
4 Respuestas
+ 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.
+ 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...
0
I think you need to right click on it
then run as admin gives the privileges
0
Remember to pay attention to include the correct java executable on the global PATH environment variable.