JBoss EAP not starting with error occurred during initialization of VM java/lang/NoClassDefFoundError: java/lang/Object

Solution Verified - Updated -

Issue

  • Extracted jdk-6u45-linux-amd64.bin.tar and copied with cp -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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.