Created
February 19, 2015 16:05
-
-
Save aesteve/50e366a2efd6571f414b to your computer and use it in GitHub Desktop.
Download Oracle's JDK 8 on Openshift DIY cartridge
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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