Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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" \
"http://download.oracle.com/otn-pub/java/jdk/9.0.4+11/c2514751926b4512b076cc82f959763f/jdk-9.0.4_linux-x64_bin.tar.gz"
@YiChengRepo
Copy link

now I got 404, Oracle archived java 9 ?

Resolving download.oracle.com (download.oracle.com)... 23.56.184.127
Connecting to download.oracle.com (download.oracle.com)|23.56.184.127|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://edelivery.oracle.com/otn-pub/java/jdk/9.0.4+11/c2514751926b4512b076cc82f959763f/jdk-9.0.4_linux-x64_bin.tar.gz [following]
--2018-04-18 13:12:03--  https://edelivery.oracle.com/otn-pub/java/jdk/9.0.4+11/c2514751926b4512b076cc82f959763f/jdk-9.0.4_linux-x64_bin.tar.gz
Resolving edelivery.oracle.com (edelivery.oracle.com)... 184.87.188.169, 2a02:26f0:a1:2a0::2d3e, 2a02:26f0:a1:29d::2d3e
Connecting to edelivery.oracle.com (edelivery.oracle.com)|184.87.188.169|:443... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://download.oracle.com/otn-pub/java/jdk/9.0.4+11/c2514751926b4512b076cc82f959763f/jdk-9.0.4_linux-x64_bin.tar.gz?AuthParam=1524053643_40a2027dba4ac5a5a7fb2208daefe657 [following]
--2018-04-18 13:12:03--  http://download.oracle.com/otn-pub/java/jdk/9.0.4+11/c2514751926b4512b076cc82f959763f/jdk-9.0.4_linux-x64_bin.tar.gz?AuthParam=1524053643_40a2027dba4ac5a5a7fb2208daefe657
Connecting to download.oracle.com (download.oracle.com)|23.56.184.127|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2018-04-18 13:12:05 ERROR 404: Not Found.

@zfolwick
Copy link

zfolwick commented May 1, 2018

I do as well.

@gowthaman-new
Copy link

Yes @lkamal Even i get 404. Is there any workaround to download java 9.

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