Created
December 26, 2015 16:09
-
-
Save itnotes/ad3a835c70278f7645ed to your computer and use it in GitHub Desktop.
Openshift DIY install java8
This file contains hidden or 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/8u65-b17/jdk-8u65-linux-x64.tar.gz | |
| tar -zxf jdk-8u65-linux-x64.tar.gz | |
| export JAVA_HOME="$OPENSHIFT_DATA_DIR/jdk1.8.0_65" | |
| export PATH=$JAVA_HOME/bin:$PATH |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment