JBoss EAP not starting with error occurred during initialization of VM java/lang/NoClassDefFoundError: java/lang/Object
Issue
-
Extracted
jdk-6u45-linux-amd64.bin.tarand copied withcp -R /usr/java/jdk-6u45-linux-amd64.extract/usr/java/jdk1.6.0_45/ /usr/java/. After installing JBoss v5.1.2 and starting, this is happening: Error occurred during initialization of VM java/lang/NoClassDefFoundError: java/lang/Object -
Using two versions of JDK in the environment JDK 6 & JDK 7.
JDK 7 is used by JBoss EAP v6.1.1. which is running fine
JDK 6 is used by JBoss EAP v5.1.2 which is not starting and gives the error: Error occurred during initialization of VM java/lang/NoClassDefFoundError: java/lang/Object
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 5.x
- 6.x
- 7.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.