How do I set different version of JDK in JBoss EAP 6 domain mode?

Solution Verified - Updated -

Issue

  • Is it possible to set different versions of JDK to different server-groups/server-instances or profiles. For example, one profile needs to use JDK 1.7 and another one JDK 1.6 ?
  • 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:1.7*"/>?

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.