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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content