Skip to content

Instantly share code, notes, and snippets.

Avatar

Kamal Mettananda lkamal

View GitHub Profile
@lkamal
lkamal / wget-jdk-oracle-install-example.txt
Last active Jul 5, 2019 — forked from sr75/wget-jdk-oracle-install-example.txt
Install Oracle JAVA JDK 9.0.4 version via Linux command line with wget
View wget-jdk-oracle-install-example.txt
# 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" \