OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended

Solution Unverified - Updated -

Issue

  • The following message is logged when starting a java process. What is the cause? Are there any side effects?

    OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended
    
  • When starting JBoss EAP 7/8 with -javaagent:dd-java-agent-<version>.jar on JDK17, the above message is logged in the console.

Environment

  • Red Hat JBoss Enterprise Application Platform
    • 7.4.7+
    • 8.x
  • Red Hat build of OpenJDK
    • 17+
  • Datadog agent
  • New Relic agent

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