Skip to content

Instantly share code, notes, and snippets.

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