While looking to compile OpenJDK from source, the newest General Availability version (OpenJDK 10.0.1) insists on OpenJDK 9 or 10. JDK 11, however, is not due to be released until September 2018.

However, to my surprise, when I do apt search openjdk the result is:

...
openjdk-11-jdk - OpenJDK Development Kit (JDK)
...
openjdk-8-jdk - OpenJDK Development Kit (JDK)
...

No OpenJDK 9 or 10!

And wait, is that OpenJDK 11? Maybe a Beta release? Nooo....

So I looked at apt show openjdk-11-jdk:

Package: openjdk-11-jdk
Version: 10.0.1+10-3ubuntu1
...

Why has OpenJDK 10 been packaged as openjdk-11-*??

up vote 42 down vote accepted

This is because those packages will become OpenJDK 11 when that is released. See this mailing list post:

On behalf of the Ubuntu Foundations Team, I am requesting an SRU exception for OpenJDK. Our plan is to release OpenJDK 10 as the default JRE/JDK 1 for Bionic, and then move the default JRE/JDK in main to OpenJDK 11 in September/October 2018 as an SRU.

= Proposed Plan =

Bionic will be released with OpenJDK 10 as the default JRE/JDK and OpenJDK 11 will replace it once it reaches GA.

...

If we are going to switch to OpenJDK 11 in bionic once released, we want to avoid OpenJDK 8 as the default JRE/JDK in Bionic at release time because any additional interface delta that exists between 8 and 11 not only exposes the archive to breakage, it also exposes external consumers of the JDK to breakage. In comparison, the interface delta between OpenJDK 10 and OpenJDK 11 is expected to be fairly small, especially in comparison with the delta between OpenJDK 8 and OpenJDK 9 that we already know is large. We should therefore release with OpenJDK 10 as the default JDK in 18.04, transitioning to OpenJDK 11 when it is released.

That's also why the source package of openjdk-11-* is actually called openjdk-lts.


A bug report has been filed - please subscribe to it (but don't comment unless you have new information to add, which is unlikely). An Ubuntu dev, Jeremy Bicha, has responded:

The intent is to upgrade openjdk-11 to 11 in Ubuntu 18.04 LTS. That's why it was named that way. It is a major change and will take some time to prepare. There is no need to ask for it to be done since it will be done.

Ubuntu 18.04 LTS was released several months before OpenJDK 11 was released so it wasn't possible to provide OpenJDK 11 before Ubuntu 18.04 LTS was released.

https://lists.ubuntu.com/archives/ubuntu-release/2018-March/004364.html

Sorry for the inconvenience.

Please don't ask for an ETA. That sends out an email to everyone subscribed to this bug and does not help fix the bug.

This bug is being worked on. openjdk 11.0.1 was updated in 18.10 and there was a security update that needed to be handled quickly in 18.04 LTS. 11.0.1 will come to 18.04 LTS when it's ready but it is a major change that needs careful coordination.

So, no ETA at present.

  • 5
    Only two days? That's a huge delay? O.o This is a package that Canonical is committing to support for years. I'm sure you can use your Canonical subscription to demand faster releases. – muru Sep 27 at 21:15
  • 5
    Knowing the release date doesn't shorten the time required for QA, though. If you're in a hurry, the PPA's been updated: launchpad.net/~openjdk-r/+archive/ubuntu/ppa I expect the packages to make their way to proposed shortly, and from there to updates. – muru Sep 27 at 21:45
  • 6
    I believe the comment, but I can't see how them effectively misclassifying a jdk version is a right thing to do. It's confusing and I'll say it, a little dishonest. Just have the versions for us to choose from, and we can do our own update-alternatives. Thanks @muru for your answer – Daniel Hinojosa Sep 28 at 1:39
  • 8
    @muru now it's almost a month, still not a big delay? – 9ilsdx 9rvj 0lo Oct 23 at 11:51
  • 12
    @9ilsdx9rvj0lo someone has filed a bug report, keep an eye on it: bugs.launchpad.net/ubuntu/+source/openjdk-lts/+bug/1796027 – muru Oct 23 at 18:58

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.