Getting warning message, "Java HotSpot(TM) Client VM warning: ignoring option MaxPermSize=XXXM; support was removed in 8.0 Error occurred during initialization of VM", while using JAVA 8 with JBoss EAP 6.

Solution Verified - Updated -

Issue

  • Getting following warning while using JAVA 8 with JBoss EAP 6 :
$ ./standalone.sh
===============================================================================

  JBoss Bootstrap Environment

  JBOSS_HOME: C:\jboss-eap-6.1

  JAVA: \Java\jdk1.8.0_05\bin\java

  JAVA_OPTS: -client -XmsXXXM -XmxXXXM -XX:MaxPermSize=XXXM 
              . . . 
===============================================================================

Java HotSpot(TM) Client VM warning: ignoring option MaxPermSize=XXXM; support was removed in 8.0
Error occurred during initialization of VM
Could not reserve enough space for 1335296KB object heap
Press any key to continue . . .

Environment

  • JAVA
    • 8

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