With OpenShift how do I specify the version of Java I want my JBoss application to use?

Solution Verified - Updated -

Issue

  • JBoss can run on both Java 6 and Java 7 how do is specify which version I want my Application to use when deploying on OpenShift?
  • How do I ensure that all java EAP gears and JBoss EWS gears have java 6 in path and not java 7.

Environment

  • Red Hat OpenShift

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