Last active
December 28, 2015 05:19
-
-
Save kessler/7449381 to your computer and use it in GitHub Desktop.
install java
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
wget --no-cookies --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com" "http://download.oracle.com/otn-pub/java/jdk/7u45-b18/jdk-7u45-linux-x64.rpm" | |
sudo rpm -ivh jdk-7u45-linux-x64.rpm | |
sudo rpm -Uvh jdk-7u45-linux-x64.rpm | |
echo 'sleeping 5 seconds' | |
sleep 5 | |
rm jdk-7u45-linux-x64.rpm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment