8

Java 9 was released officially today, so is there a way to install the JDK on Ubuntu (16.04) without having to change version numbers and checksums?

I was trying to use the webupd8 oracle-java9-installer, but each time it failed with the same error message. I followed the recommended solutions posted to these questions, none of them worked for me -

I get the same error message that others have mentioned, even after following the recommended steps.

...Downloading Oracle Java 9... --2017-09-22 02:51:55--  http://download.java.net/java/jdk9/archive/181/binaries/jdk-9+181_linux-x64_bin.tar.gz
Resolving download.java.net (download.java.net)... 216.68.101.35,216.68.101.32 
Connecting to download.java.net (download.java.net)|216.68.101.35|:80... connected. 
HTTP request sent, awaiting response... 404 Not Found 
2017-09-22 02:51:56 ERROR 404: Not Found.
download failed
Oracle JDK 9 is NOT installed. 
dpkg: error processingpackage oracle-java9-installer (--configure):  subprocess installed
post-installation script returned error exit status 1
Errors were encountered while processing:  oracle-java9-installer  
E: Sub-process/usr/bin/dpkg returned an error code (1)
David Foerster
  • 36,890
  • 56
  • 97
  • 151

0 Answers0