When trying to install
oracle-jdk9-installer
package, I’m getting the HTTP 404 error:Downloading Oracle Java 9... --2017-06-24 09:15:02-- http://download.java.net/java/jdk9/archive/174/binaries/jdk-9-ea+174_linux-x64_bin.tar.gz Resolving download.java.net (download.java.net)... 72.247.184.89, 72.247.184.91 Connecting to download.java.net (download.java.net)|72.247.184.89|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2017-06-24 09:15:03 ERROR 404: Not Found. download failed Oracle JDK 9 is NOT installed.
Why is that and how it can be fixed?
$ cat /etc/issue Ubuntu 17.04 \n \l
$ uname -a Linux intrepid 4.10.0-24-generic #28-Ubuntu SMP Wed Jun 14 08:14:34 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
Answer
Alternative, what worked for me was using SDKMAN to install, assuming you have SDKMAN installed it’s as simple as:
sdk install java
At the time for me it installed java 9.0.0-zulu
Attribution
Source : Link , Question Author : Slava Fomin II , Answer Author : jasonlam604