Skip to content

Instantly share code, notes, and snippets.

@aesteve
Created February 19, 2015 16:05
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aesteve/50e366a2efd6571f414b to your computer and use it in GitHub Desktop.
Save aesteve/50e366a2efd6571f414b to your computer and use it in GitHub Desktop.
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