Forked from sr75/wget-jdk-oracle-install-example.txt
Last active
July 5, 2019 11:41
-
-
Save lkamal/94897837886f31e9363b6c420c715230 to your computer and use it in GitHub Desktop.
Install Oracle JAVA JDK 9.0.4 version via Linux command line with wget
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
# rpm | |
wget --no-cookies \ | |
--no-check-certificate \ | |
--header "Cookie: oraclelicense=accept-securebackup-cookie" \ | |
"http://download.oracle.com/otn-pub/java/jdk/9.0.4+11/c2514751926b4512b076cc82f959763f/jdk-9.0.4_linux-x64_bin.rpm" | |
# tarball | |
wget --no-cookies \ | |
--no-check-certificate \ | |
--header "Cookie: oraclelicense=accept-securebackup-cookie" \ | |
"http://download.oracle.com/otn-pub/java/jdk/9.0.4+11/c2514751926b4512b076cc82f959763f/jdk-9.0.4_linux-x64_bin.tar.gz" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I do as well.