how to split up runtime / development parts in OpenJDK 11?

Martin Buchholz martinrb at
Fri Jul 6 15:27:35 UTC 2018


To actually answer your question, you can do

 $ make legacy-jre-image &&
build/linux-x86_64-normal-server-release/images/jre/bin/java --list-modules
Building target 'legacy-jre-image' in configuration
Creating legacy jre image
Finished building target 'legacy-jre-image' in configuration
make legacy-jre-image  9.82s user 2.09s system 145% cpu 8.183 total
java.base at 12-internal
java.compiler at 12-internal

but as others are hinting, Linux distros are expected to migrate to
shipping only a full JDK... or perhaps at the other extreme each Jigsaw
module could map to a single deb package, but in that case there would need
to be an install step (using jlink?) where the runtime image is rebuilt -
a lot of release engineering.

On Fri, Jul 6, 2018 at 4:15 AM, Matthias Klose <doko at> wrote:

> Up to the removal of the jre images in the openjdk-11 builds I used to
> split up the runtime (-jre) and development (-jdk) parts for the Linux
> packages using the delta of the jre and sdk images directories.  Is there a
> way how to tell these jre parts apart from the jdk parts?
> Thanks, Matthias
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the distro-pkg-dev mailing list