Download Oracle's JDK 8 on Openshift DIY cartridge
cd $OPENSHIFT_DATA_DIR | |
wget --no-check-certificate --no-cookies --header "Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/8u31-b13/jdk-8u31-linux-x64.tar.gz | |
tar -zxvf jdk-8u31-linux-x64.tar.gz | |
rm -f jdk-8u31-linux-x64.tar.gz | |
# JAVA_HOME and PATH are set in startup hook according to these paths |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment