Set different version of Java Runtime in JBoss EAP 7 / 6 domain mode

Solution Verified - Updated -

Issue

  • Set different versions of JDK to different server-groups/server-instances or profiles.
  • Example, one profile needs to use Java 1.8 and another one Java 17
  • Running two different JDK for servers in parallel on same host slave
  • Does EAP6 support use of JVM option in host.xml something like <option value="-version:11*"/>?
  • Configure a new server group with a different JVM than other server groups

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 7
    • 6
  • Domain mode
  • Multiple java versions installed and in use

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