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 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.