How to install JDK 1.8 in Openshift Environment.

Solution Verified - Updated -

Issue

  • What is the standard way of installing JDK 1.8 on openshift infrastructure.
  • How to install JDK 1.8 for Openshift Applications.
  • How to use JDK 1.8 for Openshift gears.
  • How to install Java 8 in Openshift.
  • Support for Java 8 in Openshift
  • Error due to java version :
echo $JAVA_HOME > $OPENSHIFT_jbossas_DIR/.env/JAVA_HOME
 bash: /env/JAVA_HOME: No such file or directory. 

Environment

  • Openshift Enterprise
    • 2.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.