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

Asked by GONG-YI LIAO on 2018-09-30

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

English Edit question
Ubuntu openjdk-lts Edit question
No assignee Edit question
Last query:
Last reply:

What is the output of:

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


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
  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 bionic-updates/main amd64 Packag
        500 bionic-security/main amd64 Package
        100 /var/lib/dpkg/status
     10.0.1+10-3ubuntu1 500
        500 bionic/main amd64 Packages

Strange indeed. I suggest you report a bug

Manfred Hampl (m-hampl) said : #4

There is some explanation in

Now that java 11 has been officially published on September 25, 2018 ( ), the Ubuntu packages are being prepared, and I assume that they will be published in the Ubuntu repositories soon.
see e.g.

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.