Last active
November 12, 2020 11:03
-
-
Save sdmcraft/2c5abbdeccf37e1642e5 to your computer and use it in GitHub Desktop.
Revisions
-
sdmcraft revised this gist
Jul 12, 2017 . 1 changed file with 5 additions and 5 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,14 +1,14 @@ cd /opt/ yum -y install wget curl -L -b "oraclelicense=a" http://download.oracle.com/otn-pub/java/jdk/8u131-b11/d54c1d3a095b4ff2b6607d096fa80163/jdk-8u131-linux-x64.tar.gz -O tar xzf jdk-8u131-linux-x64.tar.gz cd /opt/jdk1.8.0_131/ alternatives --install /usr/bin/java java /opt/jdk1.8.0_131/bin/java 2 alternatives --config java alternatives --install /usr/bin/jar jar /opt/jdk1.8.0_131/bin/jar 2 alternatives --install /usr/bin/javac javac /opt/jdk1.8.0_131/bin/javac 2 alternatives --set jar /opt/jdk1.8.0_131/bin/jar alternatives --set javac /opt/jdk1.8.0_131/bin/javac echo "export JAVA_HOME=/opt/jdk1.8.0_131" >> ~/.bash_profile echo "export JRE_HOME=/opt/jdk1.8.0_131/jre" >> ~/.bash_profile echo "export PATH=$PATH:/opt/jdk1.8.0_131/bin:/opt/jdk1.8.0_131/jre/bin" >> ~/.bash_profile -
sdmcraft revised this gist
Jun 15, 2017 . 1 changed file with 11 additions and 11 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,14 +1,14 @@ cd /opt/ yum -y install wget wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" "http://download.oracle.com/otn-pub/java/jdk/8u131-b11/d54c1d3a095b4ff2b6607d096fa80163/jdk-8u131-linux-x64.tar.gz" tar xzf jdk-8u131-linux-x64.tar.gz cd /opt/jdk1.8.0_131/ alternatives --install /usr/bin/java java /opt/jdk1.8.0_131/bin/java 3 alternatives --config java alternatives --install /usr/bin/jar jar /opt/jdk1.8.0_131/bin/jar 3 alternatives --install /usr/bin/javac javac /opt/jdk1.8.0_131/bin/javac 3 alternatives --set jar /opt/jdk1.8.0_131/bin/jar alternatives --set javac /opt/jdk1.8.0_131/bin/javac echo "export JAVA_HOME=/opt/jdk1.8.0_131" >> ~/.bash_profile echo "export JRE_HOME=/opt/jdk1.8.0_131/jre" >> ~/.bash_profile echo "export PATH=$PATH:/opt/jdk1.8.0_131/bin:/opt/jdk1.8.0_131/jre/bin" >> ~/.bash_profile -
sdmcraft created this gist
Aug 17, 2015 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,14 @@ cd /opt/ yum -y install wget wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" "http://download.oracle.com/otn-pub/java/jdk/8u45-b14/jdk-8u45-linux-x64.tar.gz" tar xzf jdk-8u45-linux-x64.tar.gz cd /opt/jdk1.8.0_45/ alternatives --install /usr/bin/java java /opt/jdk1.8.0_45/bin/java 2 alternatives --config java alternatives --install /usr/bin/jar jar /opt/jdk1.8.0_45/bin/jar 2 alternatives --install /usr/bin/javac javac /opt/jdk1.8.0_45/bin/javac 2 alternatives --set jar /opt/jdk1.8.0_45/bin/jar alternatives --set javac /opt/jdk1.8.0_45/bin/javac echo "export JAVA_HOME=/opt/jdk1.8.0_45" >> ~/.bash_profile echo "export JRE_HOME=/opt/jdk1.8.0_45/jre" >> ~/.bash_profile echo "export PATH=$PATH:/opt/jdk1.8.0_45/bin:/opt/jdk1.8.0_45/jre/bin" >> ~/.bash_profile