Installing java 11 and getting java 10 [duplicate]
This question already has an answer here:
Why is OpenJDK 10 packaged as openjdk-11-*?
2 answers
I've installed in Ubuntu bionic the following package in a 64 bits system:
apt install openjdk-11-jdk
Now I try the new java:
/usr/lib/jvm/java-11-openjdk-amd64/bin/java -version
openjdk version "10.0.2" 2018-07-17
OpenJDK Runtime Environment (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.4)
OpenJDK 64-Bit Server VM (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.4, mixed mode)
The question is why I'm getting Java 10 instead of 11.
With this command, I see that no other java is installed in my system:
# update-alternatives --config java
apt java
marked as duplicate by Kulfy, Community♦ Mar 11 at 11:10
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
add a comment |
This question already has an answer here:
Why is OpenJDK 10 packaged as openjdk-11-*?
2 answers
I've installed in Ubuntu bionic the following package in a 64 bits system:
apt install openjdk-11-jdk
Now I try the new java:
/usr/lib/jvm/java-11-openjdk-amd64/bin/java -version
openjdk version "10.0.2" 2018-07-17
OpenJDK Runtime Environment (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.4)
OpenJDK 64-Bit Server VM (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.4, mixed mode)
The question is why I'm getting Java 10 instead of 11.
With this command, I see that no other java is installed in my system:
# update-alternatives --config java
apt java
marked as duplicate by Kulfy, Community♦ Mar 11 at 11:10
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
add a comment |
This question already has an answer here:
Why is OpenJDK 10 packaged as openjdk-11-*?
2 answers
I've installed in Ubuntu bionic the following package in a 64 bits system:
apt install openjdk-11-jdk
Now I try the new java:
/usr/lib/jvm/java-11-openjdk-amd64/bin/java -version
openjdk version "10.0.2" 2018-07-17
OpenJDK Runtime Environment (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.4)
OpenJDK 64-Bit Server VM (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.4, mixed mode)
The question is why I'm getting Java 10 instead of 11.
With this command, I see that no other java is installed in my system:
# update-alternatives --config java
apt java
This question already has an answer here:
Why is OpenJDK 10 packaged as openjdk-11-*?
2 answers
I've installed in Ubuntu bionic the following package in a 64 bits system:
apt install openjdk-11-jdk
Now I try the new java:
/usr/lib/jvm/java-11-openjdk-amd64/bin/java -version
openjdk version "10.0.2" 2018-07-17
OpenJDK Runtime Environment (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.4)
OpenJDK 64-Bit Server VM (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.4, mixed mode)
The question is why I'm getting Java 10 instead of 11.
With this command, I see that no other java is installed in my system:
# update-alternatives --config java
This question already has an answer here:
Why is OpenJDK 10 packaged as openjdk-11-*?
2 answers
apt java
apt java
asked Mar 11 at 8:18
david.perezdavid.perez
1539
1539
marked as duplicate by Kulfy, Community♦ Mar 11 at 11:10
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
marked as duplicate by Kulfy, Community♦ Mar 11 at 11:10
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
If you want to install OpenJDK 11, just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command(s) below:
sudo add-apt-repository ppa:openjdk-r/ppa
sudo apt-get update
sudo apt install openjdk-11-jdk
Source:1.
add a comment |
Here is an explanation of the confusing name of the package.
The Ubuntu Foundation Team made an SRU exception for OpenJDK. Although
version 10 is a non-LTS release, they've packaged it as openjdk-11-jdk
until OpenJDK 11 goes GA. This choice was based on that assumption
that there is a much smaller interface delta between releases 10 and
11 than it would be between 8 and 11.
That's a fairly good reasoning and perhaps an apt-get upgrade wouldn't
screw things up that badly when OpenJDK's version gets bumped up from
10 to 11.
add a comment |
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
If you want to install OpenJDK 11, just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command(s) below:
sudo add-apt-repository ppa:openjdk-r/ppa
sudo apt-get update
sudo apt install openjdk-11-jdk
Source:1.
add a comment |
If you want to install OpenJDK 11, just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command(s) below:
sudo add-apt-repository ppa:openjdk-r/ppa
sudo apt-get update
sudo apt install openjdk-11-jdk
Source:1.
add a comment |
If you want to install OpenJDK 11, just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command(s) below:
sudo add-apt-repository ppa:openjdk-r/ppa
sudo apt-get update
sudo apt install openjdk-11-jdk
Source:1.
If you want to install OpenJDK 11, just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command(s) below:
sudo add-apt-repository ppa:openjdk-r/ppa
sudo apt-get update
sudo apt install openjdk-11-jdk
Source:1.
answered Mar 11 at 8:30
Mitch♦Mitch
85.1k14173231
85.1k14173231
add a comment |
add a comment |
Here is an explanation of the confusing name of the package.
The Ubuntu Foundation Team made an SRU exception for OpenJDK. Although
version 10 is a non-LTS release, they've packaged it as openjdk-11-jdk
until OpenJDK 11 goes GA. This choice was based on that assumption
that there is a much smaller interface delta between releases 10 and
11 than it would be between 8 and 11.
That's a fairly good reasoning and perhaps an apt-get upgrade wouldn't
screw things up that badly when OpenJDK's version gets bumped up from
10 to 11.
add a comment |
Here is an explanation of the confusing name of the package.
The Ubuntu Foundation Team made an SRU exception for OpenJDK. Although
version 10 is a non-LTS release, they've packaged it as openjdk-11-jdk
until OpenJDK 11 goes GA. This choice was based on that assumption
that there is a much smaller interface delta between releases 10 and
11 than it would be between 8 and 11.
That's a fairly good reasoning and perhaps an apt-get upgrade wouldn't
screw things up that badly when OpenJDK's version gets bumped up from
10 to 11.
add a comment |
Here is an explanation of the confusing name of the package.
The Ubuntu Foundation Team made an SRU exception for OpenJDK. Although
version 10 is a non-LTS release, they've packaged it as openjdk-11-jdk
until OpenJDK 11 goes GA. This choice was based on that assumption
that there is a much smaller interface delta between releases 10 and
11 than it would be between 8 and 11.
That's a fairly good reasoning and perhaps an apt-get upgrade wouldn't
screw things up that badly when OpenJDK's version gets bumped up from
10 to 11.
Here is an explanation of the confusing name of the package.
The Ubuntu Foundation Team made an SRU exception for OpenJDK. Although
version 10 is a non-LTS release, they've packaged it as openjdk-11-jdk
until OpenJDK 11 goes GA. This choice was based on that assumption
that there is a much smaller interface delta between releases 10 and
11 than it would be between 8 and 11.
That's a fairly good reasoning and perhaps an apt-get upgrade wouldn't
screw things up that badly when OpenJDK's version gets bumped up from
10 to 11.
answered Mar 11 at 10:58
david.perezdavid.perez
1539
1539
add a comment |
add a comment |