Cannot install JDK 9 via apt
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
7
down vote
favorite
I created a new Ubuntu 16.04.3 VM and am attempting to install JDK 9. Unfortunately, the latest version of the JDK apt
installer, 9.0.1-1~webupd8~0
, is failing to download the binaries and I suspect that the reason is because JDK 9.0.4 was released today and Oracle moved the archives around.
I carried out the typical steps for installation:
add-apt-repository ppa:webupd8team/java
apt-get update && apt-get install oracle-java9-installer
I am then prompted with the following error message:
Downloading Oracle Java 9...
--2018-01-16 15:15:07-- http://download.oracle.com/otn-pub/java/jdk/9.0.1+11/jdk-9.0.1_linux-x64_bin.tar.gz
Resolving download.oracle.com (download.oracle.com)... 23.200.70.136
Connecting to download.oracle.com (download.oracle.com)|23.200.70.136|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://edelivery.oracle.com/otn-pub/java/jdk/9.0.1+11/jdk-9.0.1_linux-x64_bin.tar.gz [following]
--2018-01-16 15:15:11-- https://edelivery.oracle.com/otn-pub/java/jdk/9.0.1+11/jdk-9.0.1_linux-x64_bin.tar.gz
Resolving edelivery.oracle.com (edelivery.oracle.com)... 23.35.226.115, 2600:1404:21:49d::2d3e, 2600:1404:21:493::2d3e
Connecting to edelivery.oracle.com (edelivery.oracle.com)|23.35.226.115|:443... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://download.oracle.com/otn-pub/java/jdk/9.0.1+11/jdk-9.0.1_linux-x64_bin.tar.gz?AuthParam=1516137431_0e89d10b30203a572ea858768475ef74 [following]
--2018-01-16 15:15:11-- http://download.oracle.com/otn-pub/java/jdk/9.0.1+11/jdk-9.0.1_linux-x64_bin.tar.gz?AuthParam=1516137431_0e89d10b30203a572ea858768475ef74
Connecting to download.oracle.com (download.oracle.com)|23.200.70.136|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2018-01-16 15:15:11 ERROR 404: Not Found.
download failed
Oracle JDK 9 is NOT installed.
dpkg: error processing package 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)
I found this thread that addressed it for the JDK 9 GA, but it does not appear that the latest reply works for JDK 9.0.4+11. I've updated the SHA checksums (found on this page), set the major version to 9.0.4, and set the minor version to 11, but I'm still not having success.
What steps need to be carried out to get the JDK apt
installer to work until the WebUpd8 team is able to update the PPA?
apt software-installation java jdk oracle
add a comment |Â
up vote
7
down vote
favorite
I created a new Ubuntu 16.04.3 VM and am attempting to install JDK 9. Unfortunately, the latest version of the JDK apt
installer, 9.0.1-1~webupd8~0
, is failing to download the binaries and I suspect that the reason is because JDK 9.0.4 was released today and Oracle moved the archives around.
I carried out the typical steps for installation:
add-apt-repository ppa:webupd8team/java
apt-get update && apt-get install oracle-java9-installer
I am then prompted with the following error message:
Downloading Oracle Java 9...
--2018-01-16 15:15:07-- http://download.oracle.com/otn-pub/java/jdk/9.0.1+11/jdk-9.0.1_linux-x64_bin.tar.gz
Resolving download.oracle.com (download.oracle.com)... 23.200.70.136
Connecting to download.oracle.com (download.oracle.com)|23.200.70.136|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://edelivery.oracle.com/otn-pub/java/jdk/9.0.1+11/jdk-9.0.1_linux-x64_bin.tar.gz [following]
--2018-01-16 15:15:11-- https://edelivery.oracle.com/otn-pub/java/jdk/9.0.1+11/jdk-9.0.1_linux-x64_bin.tar.gz
Resolving edelivery.oracle.com (edelivery.oracle.com)... 23.35.226.115, 2600:1404:21:49d::2d3e, 2600:1404:21:493::2d3e
Connecting to edelivery.oracle.com (edelivery.oracle.com)|23.35.226.115|:443... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://download.oracle.com/otn-pub/java/jdk/9.0.1+11/jdk-9.0.1_linux-x64_bin.tar.gz?AuthParam=1516137431_0e89d10b30203a572ea858768475ef74 [following]
--2018-01-16 15:15:11-- http://download.oracle.com/otn-pub/java/jdk/9.0.1+11/jdk-9.0.1_linux-x64_bin.tar.gz?AuthParam=1516137431_0e89d10b30203a572ea858768475ef74
Connecting to download.oracle.com (download.oracle.com)|23.200.70.136|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2018-01-16 15:15:11 ERROR 404: Not Found.
download failed
Oracle JDK 9 is NOT installed.
dpkg: error processing package 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)
I found this thread that addressed it for the JDK 9 GA, but it does not appear that the latest reply works for JDK 9.0.4+11. I've updated the SHA checksums (found on this page), set the major version to 9.0.4, and set the minor version to 11, but I'm still not having success.
What steps need to be carried out to get the JDK apt
installer to work until the WebUpd8 team is able to update the PPA?
apt software-installation java jdk oracle
add a comment |Â
up vote
7
down vote
favorite
up vote
7
down vote
favorite
I created a new Ubuntu 16.04.3 VM and am attempting to install JDK 9. Unfortunately, the latest version of the JDK apt
installer, 9.0.1-1~webupd8~0
, is failing to download the binaries and I suspect that the reason is because JDK 9.0.4 was released today and Oracle moved the archives around.
I carried out the typical steps for installation:
add-apt-repository ppa:webupd8team/java
apt-get update && apt-get install oracle-java9-installer
I am then prompted with the following error message:
Downloading Oracle Java 9...
--2018-01-16 15:15:07-- http://download.oracle.com/otn-pub/java/jdk/9.0.1+11/jdk-9.0.1_linux-x64_bin.tar.gz
Resolving download.oracle.com (download.oracle.com)... 23.200.70.136
Connecting to download.oracle.com (download.oracle.com)|23.200.70.136|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://edelivery.oracle.com/otn-pub/java/jdk/9.0.1+11/jdk-9.0.1_linux-x64_bin.tar.gz [following]
--2018-01-16 15:15:11-- https://edelivery.oracle.com/otn-pub/java/jdk/9.0.1+11/jdk-9.0.1_linux-x64_bin.tar.gz
Resolving edelivery.oracle.com (edelivery.oracle.com)... 23.35.226.115, 2600:1404:21:49d::2d3e, 2600:1404:21:493::2d3e
Connecting to edelivery.oracle.com (edelivery.oracle.com)|23.35.226.115|:443... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://download.oracle.com/otn-pub/java/jdk/9.0.1+11/jdk-9.0.1_linux-x64_bin.tar.gz?AuthParam=1516137431_0e89d10b30203a572ea858768475ef74 [following]
--2018-01-16 15:15:11-- http://download.oracle.com/otn-pub/java/jdk/9.0.1+11/jdk-9.0.1_linux-x64_bin.tar.gz?AuthParam=1516137431_0e89d10b30203a572ea858768475ef74
Connecting to download.oracle.com (download.oracle.com)|23.200.70.136|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2018-01-16 15:15:11 ERROR 404: Not Found.
download failed
Oracle JDK 9 is NOT installed.
dpkg: error processing package 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)
I found this thread that addressed it for the JDK 9 GA, but it does not appear that the latest reply works for JDK 9.0.4+11. I've updated the SHA checksums (found on this page), set the major version to 9.0.4, and set the minor version to 11, but I'm still not having success.
What steps need to be carried out to get the JDK apt
installer to work until the WebUpd8 team is able to update the PPA?
apt software-installation java jdk oracle
I created a new Ubuntu 16.04.3 VM and am attempting to install JDK 9. Unfortunately, the latest version of the JDK apt
installer, 9.0.1-1~webupd8~0
, is failing to download the binaries and I suspect that the reason is because JDK 9.0.4 was released today and Oracle moved the archives around.
I carried out the typical steps for installation:
add-apt-repository ppa:webupd8team/java
apt-get update && apt-get install oracle-java9-installer
I am then prompted with the following error message:
Downloading Oracle Java 9...
--2018-01-16 15:15:07-- http://download.oracle.com/otn-pub/java/jdk/9.0.1+11/jdk-9.0.1_linux-x64_bin.tar.gz
Resolving download.oracle.com (download.oracle.com)... 23.200.70.136
Connecting to download.oracle.com (download.oracle.com)|23.200.70.136|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://edelivery.oracle.com/otn-pub/java/jdk/9.0.1+11/jdk-9.0.1_linux-x64_bin.tar.gz [following]
--2018-01-16 15:15:11-- https://edelivery.oracle.com/otn-pub/java/jdk/9.0.1+11/jdk-9.0.1_linux-x64_bin.tar.gz
Resolving edelivery.oracle.com (edelivery.oracle.com)... 23.35.226.115, 2600:1404:21:49d::2d3e, 2600:1404:21:493::2d3e
Connecting to edelivery.oracle.com (edelivery.oracle.com)|23.35.226.115|:443... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://download.oracle.com/otn-pub/java/jdk/9.0.1+11/jdk-9.0.1_linux-x64_bin.tar.gz?AuthParam=1516137431_0e89d10b30203a572ea858768475ef74 [following]
--2018-01-16 15:15:11-- http://download.oracle.com/otn-pub/java/jdk/9.0.1+11/jdk-9.0.1_linux-x64_bin.tar.gz?AuthParam=1516137431_0e89d10b30203a572ea858768475ef74
Connecting to download.oracle.com (download.oracle.com)|23.200.70.136|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2018-01-16 15:15:11 ERROR 404: Not Found.
download failed
Oracle JDK 9 is NOT installed.
dpkg: error processing package 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)
I found this thread that addressed it for the JDK 9 GA, but it does not appear that the latest reply works for JDK 9.0.4+11. I've updated the SHA checksums (found on this page), set the major version to 9.0.4, and set the minor version to 11, but I'm still not having success.
What steps need to be carried out to get the JDK apt
installer to work until the WebUpd8 team is able to update the PPA?
apt software-installation java jdk oracle
edited Jan 18 at 19:12
asked Jan 16 at 22:22
PicoDeGallo
1386
1386
add a comment |Â
add a comment |Â
2 Answers
2
active
oldest
votes
up vote
6
down vote
accepted
First of all in case you think you need Oracle Java because of some stupid tutorial you found on the internet, all you need to do to install Java in all currently supported versions of Ubuntu is to run this command:
sudo apt install default-jdk
If you're continuing on to read the rest of this answer, then you think that you need to install Oracle Java instead of the installing a Java package from the default Ubuntu repositories.
I tried to download Oracle Java 9 manually from the official Oracle website at: http://www.oracle.com/technetwork/java/javase/downloads/jdk9-downloads-3848520.html and the link to download jdk-9.0.4_linux-x64_bin.tar.gz is working. If download link is not working because it's been updated, go to the official Oracle website and download Java from there. Your other alternative is to install openjdk-9-jdk from the default Ubuntu 16.04 repositories.
Install Oracle Java JDK the manual way
Java 8 can also be installed the same way. The link to download Java 8 manually from the official Oracle website is: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
I was able to perform a manual install of JDK 9.0.4 with the instructions on the post you linked. I actually prefer this method and learned a good chunk more by reading further on it. Since Oracle doesn't have an official PPA and WebUpd8's unfortunately breaks on new releases, this seems like a better all around solution especially with a bash script. Thank you sir!
â PicoDeGallo
Jan 18 at 0:25
@PicoDeGallo does the bash script handle updates too?
â Rahim
Jan 19 at 20:55
The openjdk-9-jdk package from the default Ubuntu repositories is updated automatically by the Software Updater application. Oracle Java is not updated automatically unless you installed it from the PPA.
â karel
Jan 19 at 22:05
(+1 but I really need stupid Oracle Java because the stupid applet I have to use for my job refuses very stubbornly to work otherwise (I tried really hard, but there's only so much I can do as the end user))
â Zanna
May 28 at 16:05
1
@Zanna Oracle Java is bundled with JavaFX. In Ubuntu JavaFX is packaged as a separate app, named openjfx (Rich client application platform for Java). Maybe it would would work for your applet at work, maybe not.
â karel
May 28 at 16:20
 |Â
show 1 more comment
up vote
1
down vote
For people just arriving at this question, Oracle Java 9, because it is not an LTS version, is now end-of-life and cannot be downloaded. Unfortunately, Java 10 isn't yet available through the Web Upd8 PPA, but their PPA page recommends another PPA for that.
Oracle Java 8
Java 8 is an LTS version that will last a lot longer than Java 10 and can be installed with:
sudo apt-add-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
Oracle Java 10
Java 10 is a non-LTS version that won't last long and can be installed with:
sudo apt-add-repository ppa:linuxuprising/java
sudo apt-get update
sudo apt-get install oracle-java10-installer
add a comment |Â
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
6
down vote
accepted
First of all in case you think you need Oracle Java because of some stupid tutorial you found on the internet, all you need to do to install Java in all currently supported versions of Ubuntu is to run this command:
sudo apt install default-jdk
If you're continuing on to read the rest of this answer, then you think that you need to install Oracle Java instead of the installing a Java package from the default Ubuntu repositories.
I tried to download Oracle Java 9 manually from the official Oracle website at: http://www.oracle.com/technetwork/java/javase/downloads/jdk9-downloads-3848520.html and the link to download jdk-9.0.4_linux-x64_bin.tar.gz is working. If download link is not working because it's been updated, go to the official Oracle website and download Java from there. Your other alternative is to install openjdk-9-jdk from the default Ubuntu 16.04 repositories.
Install Oracle Java JDK the manual way
Java 8 can also be installed the same way. The link to download Java 8 manually from the official Oracle website is: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
I was able to perform a manual install of JDK 9.0.4 with the instructions on the post you linked. I actually prefer this method and learned a good chunk more by reading further on it. Since Oracle doesn't have an official PPA and WebUpd8's unfortunately breaks on new releases, this seems like a better all around solution especially with a bash script. Thank you sir!
â PicoDeGallo
Jan 18 at 0:25
@PicoDeGallo does the bash script handle updates too?
â Rahim
Jan 19 at 20:55
The openjdk-9-jdk package from the default Ubuntu repositories is updated automatically by the Software Updater application. Oracle Java is not updated automatically unless you installed it from the PPA.
â karel
Jan 19 at 22:05
(+1 but I really need stupid Oracle Java because the stupid applet I have to use for my job refuses very stubbornly to work otherwise (I tried really hard, but there's only so much I can do as the end user))
â Zanna
May 28 at 16:05
1
@Zanna Oracle Java is bundled with JavaFX. In Ubuntu JavaFX is packaged as a separate app, named openjfx (Rich client application platform for Java). Maybe it would would work for your applet at work, maybe not.
â karel
May 28 at 16:20
 |Â
show 1 more comment
up vote
6
down vote
accepted
First of all in case you think you need Oracle Java because of some stupid tutorial you found on the internet, all you need to do to install Java in all currently supported versions of Ubuntu is to run this command:
sudo apt install default-jdk
If you're continuing on to read the rest of this answer, then you think that you need to install Oracle Java instead of the installing a Java package from the default Ubuntu repositories.
I tried to download Oracle Java 9 manually from the official Oracle website at: http://www.oracle.com/technetwork/java/javase/downloads/jdk9-downloads-3848520.html and the link to download jdk-9.0.4_linux-x64_bin.tar.gz is working. If download link is not working because it's been updated, go to the official Oracle website and download Java from there. Your other alternative is to install openjdk-9-jdk from the default Ubuntu 16.04 repositories.
Install Oracle Java JDK the manual way
Java 8 can also be installed the same way. The link to download Java 8 manually from the official Oracle website is: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
I was able to perform a manual install of JDK 9.0.4 with the instructions on the post you linked. I actually prefer this method and learned a good chunk more by reading further on it. Since Oracle doesn't have an official PPA and WebUpd8's unfortunately breaks on new releases, this seems like a better all around solution especially with a bash script. Thank you sir!
â PicoDeGallo
Jan 18 at 0:25
@PicoDeGallo does the bash script handle updates too?
â Rahim
Jan 19 at 20:55
The openjdk-9-jdk package from the default Ubuntu repositories is updated automatically by the Software Updater application. Oracle Java is not updated automatically unless you installed it from the PPA.
â karel
Jan 19 at 22:05
(+1 but I really need stupid Oracle Java because the stupid applet I have to use for my job refuses very stubbornly to work otherwise (I tried really hard, but there's only so much I can do as the end user))
â Zanna
May 28 at 16:05
1
@Zanna Oracle Java is bundled with JavaFX. In Ubuntu JavaFX is packaged as a separate app, named openjfx (Rich client application platform for Java). Maybe it would would work for your applet at work, maybe not.
â karel
May 28 at 16:20
 |Â
show 1 more comment
up vote
6
down vote
accepted
up vote
6
down vote
accepted
First of all in case you think you need Oracle Java because of some stupid tutorial you found on the internet, all you need to do to install Java in all currently supported versions of Ubuntu is to run this command:
sudo apt install default-jdk
If you're continuing on to read the rest of this answer, then you think that you need to install Oracle Java instead of the installing a Java package from the default Ubuntu repositories.
I tried to download Oracle Java 9 manually from the official Oracle website at: http://www.oracle.com/technetwork/java/javase/downloads/jdk9-downloads-3848520.html and the link to download jdk-9.0.4_linux-x64_bin.tar.gz is working. If download link is not working because it's been updated, go to the official Oracle website and download Java from there. Your other alternative is to install openjdk-9-jdk from the default Ubuntu 16.04 repositories.
Install Oracle Java JDK the manual way
Java 8 can also be installed the same way. The link to download Java 8 manually from the official Oracle website is: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
First of all in case you think you need Oracle Java because of some stupid tutorial you found on the internet, all you need to do to install Java in all currently supported versions of Ubuntu is to run this command:
sudo apt install default-jdk
If you're continuing on to read the rest of this answer, then you think that you need to install Oracle Java instead of the installing a Java package from the default Ubuntu repositories.
I tried to download Oracle Java 9 manually from the official Oracle website at: http://www.oracle.com/technetwork/java/javase/downloads/jdk9-downloads-3848520.html and the link to download jdk-9.0.4_linux-x64_bin.tar.gz is working. If download link is not working because it's been updated, go to the official Oracle website and download Java from there. Your other alternative is to install openjdk-9-jdk from the default Ubuntu 16.04 repositories.
Install Oracle Java JDK the manual way
Java 8 can also be installed the same way. The link to download Java 8 manually from the official Oracle website is: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
edited May 24 at 9:43
answered Jan 17 at 14:59
![](https://i.stack.imgur.com/zqElV.png?s=32&g=1)
![](https://i.stack.imgur.com/zqElV.png?s=32&g=1)
karel
49.6k11105126
49.6k11105126
I was able to perform a manual install of JDK 9.0.4 with the instructions on the post you linked. I actually prefer this method and learned a good chunk more by reading further on it. Since Oracle doesn't have an official PPA and WebUpd8's unfortunately breaks on new releases, this seems like a better all around solution especially with a bash script. Thank you sir!
â PicoDeGallo
Jan 18 at 0:25
@PicoDeGallo does the bash script handle updates too?
â Rahim
Jan 19 at 20:55
The openjdk-9-jdk package from the default Ubuntu repositories is updated automatically by the Software Updater application. Oracle Java is not updated automatically unless you installed it from the PPA.
â karel
Jan 19 at 22:05
(+1 but I really need stupid Oracle Java because the stupid applet I have to use for my job refuses very stubbornly to work otherwise (I tried really hard, but there's only so much I can do as the end user))
â Zanna
May 28 at 16:05
1
@Zanna Oracle Java is bundled with JavaFX. In Ubuntu JavaFX is packaged as a separate app, named openjfx (Rich client application platform for Java). Maybe it would would work for your applet at work, maybe not.
â karel
May 28 at 16:20
 |Â
show 1 more comment
I was able to perform a manual install of JDK 9.0.4 with the instructions on the post you linked. I actually prefer this method and learned a good chunk more by reading further on it. Since Oracle doesn't have an official PPA and WebUpd8's unfortunately breaks on new releases, this seems like a better all around solution especially with a bash script. Thank you sir!
â PicoDeGallo
Jan 18 at 0:25
@PicoDeGallo does the bash script handle updates too?
â Rahim
Jan 19 at 20:55
The openjdk-9-jdk package from the default Ubuntu repositories is updated automatically by the Software Updater application. Oracle Java is not updated automatically unless you installed it from the PPA.
â karel
Jan 19 at 22:05
(+1 but I really need stupid Oracle Java because the stupid applet I have to use for my job refuses very stubbornly to work otherwise (I tried really hard, but there's only so much I can do as the end user))
â Zanna
May 28 at 16:05
1
@Zanna Oracle Java is bundled with JavaFX. In Ubuntu JavaFX is packaged as a separate app, named openjfx (Rich client application platform for Java). Maybe it would would work for your applet at work, maybe not.
â karel
May 28 at 16:20
I was able to perform a manual install of JDK 9.0.4 with the instructions on the post you linked. I actually prefer this method and learned a good chunk more by reading further on it. Since Oracle doesn't have an official PPA and WebUpd8's unfortunately breaks on new releases, this seems like a better all around solution especially with a bash script. Thank you sir!
â PicoDeGallo
Jan 18 at 0:25
I was able to perform a manual install of JDK 9.0.4 with the instructions on the post you linked. I actually prefer this method and learned a good chunk more by reading further on it. Since Oracle doesn't have an official PPA and WebUpd8's unfortunately breaks on new releases, this seems like a better all around solution especially with a bash script. Thank you sir!
â PicoDeGallo
Jan 18 at 0:25
@PicoDeGallo does the bash script handle updates too?
â Rahim
Jan 19 at 20:55
@PicoDeGallo does the bash script handle updates too?
â Rahim
Jan 19 at 20:55
The openjdk-9-jdk package from the default Ubuntu repositories is updated automatically by the Software Updater application. Oracle Java is not updated automatically unless you installed it from the PPA.
â karel
Jan 19 at 22:05
The openjdk-9-jdk package from the default Ubuntu repositories is updated automatically by the Software Updater application. Oracle Java is not updated automatically unless you installed it from the PPA.
â karel
Jan 19 at 22:05
(+1 but I really need stupid Oracle Java because the stupid applet I have to use for my job refuses very stubbornly to work otherwise (I tried really hard, but there's only so much I can do as the end user))
â Zanna
May 28 at 16:05
(+1 but I really need stupid Oracle Java because the stupid applet I have to use for my job refuses very stubbornly to work otherwise (I tried really hard, but there's only so much I can do as the end user))
â Zanna
May 28 at 16:05
1
1
@Zanna Oracle Java is bundled with JavaFX. In Ubuntu JavaFX is packaged as a separate app, named openjfx (Rich client application platform for Java). Maybe it would would work for your applet at work, maybe not.
â karel
May 28 at 16:20
@Zanna Oracle Java is bundled with JavaFX. In Ubuntu JavaFX is packaged as a separate app, named openjfx (Rich client application platform for Java). Maybe it would would work for your applet at work, maybe not.
â karel
May 28 at 16:20
 |Â
show 1 more comment
up vote
1
down vote
For people just arriving at this question, Oracle Java 9, because it is not an LTS version, is now end-of-life and cannot be downloaded. Unfortunately, Java 10 isn't yet available through the Web Upd8 PPA, but their PPA page recommends another PPA for that.
Oracle Java 8
Java 8 is an LTS version that will last a lot longer than Java 10 and can be installed with:
sudo apt-add-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
Oracle Java 10
Java 10 is a non-LTS version that won't last long and can be installed with:
sudo apt-add-repository ppa:linuxuprising/java
sudo apt-get update
sudo apt-get install oracle-java10-installer
add a comment |Â
up vote
1
down vote
For people just arriving at this question, Oracle Java 9, because it is not an LTS version, is now end-of-life and cannot be downloaded. Unfortunately, Java 10 isn't yet available through the Web Upd8 PPA, but their PPA page recommends another PPA for that.
Oracle Java 8
Java 8 is an LTS version that will last a lot longer than Java 10 and can be installed with:
sudo apt-add-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
Oracle Java 10
Java 10 is a non-LTS version that won't last long and can be installed with:
sudo apt-add-repository ppa:linuxuprising/java
sudo apt-get update
sudo apt-get install oracle-java10-installer
add a comment |Â
up vote
1
down vote
up vote
1
down vote
For people just arriving at this question, Oracle Java 9, because it is not an LTS version, is now end-of-life and cannot be downloaded. Unfortunately, Java 10 isn't yet available through the Web Upd8 PPA, but their PPA page recommends another PPA for that.
Oracle Java 8
Java 8 is an LTS version that will last a lot longer than Java 10 and can be installed with:
sudo apt-add-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
Oracle Java 10
Java 10 is a non-LTS version that won't last long and can be installed with:
sudo apt-add-repository ppa:linuxuprising/java
sudo apt-get update
sudo apt-get install oracle-java10-installer
For people just arriving at this question, Oracle Java 9, because it is not an LTS version, is now end-of-life and cannot be downloaded. Unfortunately, Java 10 isn't yet available through the Web Upd8 PPA, but their PPA page recommends another PPA for that.
Oracle Java 8
Java 8 is an LTS version that will last a lot longer than Java 10 and can be installed with:
sudo apt-add-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
Oracle Java 10
Java 10 is a non-LTS version that won't last long and can be installed with:
sudo apt-add-repository ppa:linuxuprising/java
sudo apt-get update
sudo apt-get install oracle-java10-installer
edited May 22 at 0:23
answered May 22 at 0:09
![](https://i.stack.imgur.com/QxbAJ.png?s=32&g=1)
![](https://i.stack.imgur.com/QxbAJ.png?s=32&g=1)
Chai T. Rex
3,45611132
3,45611132
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f996774%2fcannot-install-jdk-9-via-apt%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password