Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save donarus/68a3c809804bdd1fa00f to your computer and use it in GitHub Desktop.
Save donarus/68a3c809804bdd1fa00f to your computer and use it in GitHub Desktop.
http://d.stavrovski.net/blog/post/how-to-install-and-setup-oracle-java-jdk-in-centos-6
# rpm
wget --no-cookies \
--no-check-certificate \
--header "Cookie: oraclelicense=accept-securebackup-cookie" \
"http://download.oracle.com/otn-pub/java/jdk/7u55-b13/jdk-7u55-linux-x64.rpm" \
-O jdk-7-linux-x64.rpm
# ubuntu
wget --no-cookies \
--no-check-certificate \
--header "Cookie: oraclelicense=accept-securebackup-cookie" \
"http://download.oracle.com/otn-pub/java/jdk/7u55-b13/jdk-7u55-linux-x64.tar.gz" \
-O jdk-7-linux-x64.tar.gz
# then
tar -xzvf jdk-7-linux-x64.tar.gz
@donarus
Copy link
Author

donarus commented Feb 27, 2015

god bless scottvrosenthal

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment