The "openjdk-11-jdk" package is actually a JDK 10 package, not a JDK 11 package

Asked by GONG-YI LIAO

After installing the "openjdk-11-jdk", I ran the following executable and obtained the corresponding results:

 /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.2)
OpenJDK 64-Bit Server VM (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.2, mixed mode)

It suggests that what shipped with the "openjdk-11-jdk" package are actually JDK 10 files, not JDK 11 files, the package named should be corrected as "openjdk-10-jdk"

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu openjdk-lts Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

What is the output of:

lsb_release -a; uname -a; apt-cache policy openjdk-11-jdk

Thanks

Revision history for this message
GONG-YI LIAO (gongyi-liao-gmail) said :
#2

No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Codename: bionic
Linux KarenDP0 4.15.0-34-generic #37-Ubuntu SMP Mon Aug 27 15:21:48 UTC 2018 x86
_64 x86_64 x86_64 GNU/Linux
openjdk-11-jdk:
  Installed: 10.0.2+13-1ubuntu0.18.04.2
  Candidate: 10.0.2+13-1ubuntu0.18.04.2
  Version table:
 *** 10.0.2+13-1ubuntu0.18.04.2 500
        500 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packag
es
        500 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Package
s
        100 /var/lib/dpkg/status
     10.0.1+10-3ubuntu1 500
        500 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 Packages

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

Strange indeed. I suggest you report a bug

Revision history for this message
Manfred Hampl (m-hampl) said :
#4

There is some explanation in https://answers.launchpad.net/ubuntu/+source/openjdk-lts/+question/668563

Now that java 11 has been officially published on September 25, 2018 (http://openjdk.java.net/projects/jdk/11/ ), the Ubuntu packages are being prepared, and I assume that they will be published in the Ubuntu repositories soon.
see e.g. https://launchpad.net/~canonical-foundations/+archive/ubuntu/openjdk11-stage1

Can you help with this problem?

Provide an answer of your own, or ask GONG-YI LIAO for more information if necessary.

To post a message you must log in.