docker-openjdk icon indicating copy to clipboard operation
docker-openjdk copied to clipboard

OpenJDK 10/11

Open hjacobs opened this issue 6 years ago • 12 comments

OpenJDK 10/11 is part of Ubuntu 18.04 LTS ("bionic"): https://packages.ubuntu.com/bionic/openjdk-11-jdk

  • http://openjdk.java.net/projects/jdk/10/
  • http://openjdk.java.net/projects/jdk/11/

See also the update to 18.04: https://github.com/zalando-stups/docker-ubuntu/pull/22

I propose making OpenJDK 10/11 the default for this Docker base image (without changing its name).

hjacobs avatar Apr 30 '18 12:04 hjacobs

It might break a lot of applications that still rely on private APIs (like sun.misc.Unsafe). I would suggest to publish a separate image for testing first, because the migration path might be non-trivial (or impossible if applications rely on unsupported libraries).

aermakov-zalando avatar May 22 '18 14:05 aermakov-zalando

@aermakov-zalando yes, I think for migration purposes it makes sense to gradually release with a new name, but mid-term I would change the default (people can always pin their version to a known good Docker image tag).

hjacobs avatar May 22 '18 14:05 hjacobs

@hjacobs will Java 11 be soon available? Any further plan if it will be the default or like suggested a separate image. Would like to start migration process as soon as possible. Can even create the necessary PR just need to know which direction is preferred.

kgalli avatar Sep 27 '18 13:09 kgalli

:+1: for another image name with the new major version of Java.

Jan-M avatar Oct 10 '18 13:10 Jan-M

Since Java 10 there, the JVM is aware of running in (Docker) containers. This is extremely useful for applications running on Kubernetes to not get OOMKilled every couple of minutes.

harti2006 avatar Oct 10 '18 13:10 harti2006

@hjacobs @harti2006 Is there any plan or roadmap to support OpenJDK 11 ?

lalib avatar Oct 13 '18 16:10 lalib

@lalib we don't actively work on it, if anybody wants to pick this up, feel free :smile:

hjacobs avatar Nov 12 '18 11:11 hjacobs

@hjacobs I've opened a PR to add a JDK 11 build if you get a chance to review. I was hoping it would auto-trigger a build. Not sure if there is some other process for that 😕

irishshagua avatar Nov 19 '18 12:11 irishshagua

Hello,

Any updates on this?

vadeg avatar Jul 03 '19 08:07 vadeg

@vadeg please look into our internal Zalando Developer Console and search for "jdk11", you will find a migration guide (which does not rely on this base Docker image anymore).

hjacobs avatar Jul 03 '19 11:07 hjacobs

@hjacobs thanks

vadeg avatar Jul 03 '19 11:07 vadeg