Search code examples
java-8openshiftopenshift-cartridge

Installing JDK8 on DIY openshift


I'm trying to upgrade my Openshift DIY instance to JDK8. I'm following this tutoial, but I'm facing a disk quota exceeded problem. I am able to download the tar.gz file, but cannot unzip it. What can I do?


Solution

  • JDK8 is actually already installed on the servers in this location (/etc/alternatives/java_sdk_1.8.0) which is referenced here: (https://github.com/openshift/origin-server/blob/master/cartridges/openshift-origin-cartridge-jbossas/env/OPENSHIFT_JBOSSAS_JDK8)

    You should just need to setup environment variables for your JAVA_HOME.