Java SE - "Error occurred during initialization of VM java.lang.NoClassDefFoundError: java.lang.Object"
(Doc ID 1006790.1)
Last updated on NOVEMBER 08, 2020
Applies to:Java SE JDK and JRE - Version 1.3.1 to 8
When trying to run a Java SE application, the following error message is reported:
Actions that are known to trigger this problem:
1. Trying to run a 64-bit JVM[TM] on Solaris (SPARCv9 or x64) when the required 32-bit JVM is not installed (does not apply to JDK 8 and later since starting with JDK 8 there is no 32-bit JVM anymore).
2. Removing the file rt.jar from the JVM installation folder, implicitly or explicitly. Third-party anti-virus software has been known to cause this problem on Microsoft Windows platforms.
3. Lack of read access rights to the file rt.jar.
4. Using the JVM's -Xbootclasspath: switch to modify the search path of the bootstrap class loader and Not including the file rt.jar on the search path.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!