Why are there no openjdk-10 packages?

Asked by Jason Yundt

I want to install the latest stable version of the OpenJDK on an Kubuntu 18.04 system, but there only appears to be 3 options available:

    - openjdk-8-jdk
    - openjdk-9-jdk
    - openjdk-11-jdk

Installing openjdk-11-jdk appears to not give me a "Early-Access" build of OpenJDK 11, but rather the latest stable version of OpenJDK 10. I have two questions:

Why does installing openjdk-11-jdk give me version 10 instead of version 11?
What is the proper way to install OpenJDK 10 on Ubuntu 18.04?

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

https://launchpad.net/ubuntu/+source/openjdk-10/+changelog

Deleted in bionic-proposed on 2018-04-04 (Reason: remove openjdk-10 source, replaced by the openjdk-11 source)

Revision history for this message
Stefan Huehner (stefan-huehner) said :
#2

Hi Jason,
a bit longer answer on top of Andrew's to explain the 'why'.

Oracle changed their release policy and how have something similar to LTS support.

Some java version i.e. 9 and 10 are only supported few month.
Some java version like old 8 and upcoming 11 are supported longer.

Ubuntu decided to stay with the longer supported java versions in the 18.04 LTS.

Apart they checked if they can maintain the the old Java8 for the full 5 years cycle of 18.04 -> Not possible.
Plan: Get Java 11 and support this but it is not yet released (will be end of September)

So plan:
Whenever OpenJDK 11 gets released (expected end of September) it will get added to the 18.04 Ubuntu and then supported.
It will replace the existing Java10.

To try to make that easier for users like us they:
- Make one source package openjdk-lts
- Binary package (what you install is already called java 11)
- The folder inside is already matching 11 /usr/lib/jvm/java-11-openjdk-amd64
- Today contains java10 but will move to 11 eventually.

So it is a bit confusing now but giving the future plans make sense giving the awkward timing of (needed java11 long term, but not having it today)

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

OpenJDK 11 was released on 9/25/2018. When will the openjdk-11-jdk become a "real" JDK 11 package?

Can you help with this problem?

Provide an answer of your own, or ask Jason Yundt for more information if necessary.

To post a message you must log in.