Upgrade jdk 8.0 to jdk 11.0 - JVM Crash with fatal error. Unrecognized VM option 'PrintGCDateStamps' , 'UseGCLogFileRotation', 'PrintGCDetails', 'UseGCLogFileRotation' etc

Solution Verified - Updated -

Issue

While upgrading JDK 8.0 to JDK 11.0 in JBoss server.  JVM crash with below errors - 
Apache Commons Daemon procrun stderr initialized.
OpenJDK 64-Bit Server VM warning: Option AggressiveOpts was deprecated in version 11.0 and will likely be removed in a future release.
 OpenJDK 64-Bit Server VM warning: Ignoring option MaxPermSize; support was removed in 8.0
 Unrecognized VM option 'PrintGCDateStamps'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

Even belows parameters are not supported
Unrecognized VM option 'UseGCLogFileRotation'
Unrecognized VM option 'NumberOfGCLogFiles=5'
Unrecognized VM option 'GCLogFileSize=3M'

Environment

  • OPenJDK 11

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