how to split up runtime (original) (raw)

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

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


Matthias,

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 'linux-x86_64-normal-server-release' Creating legacy jre image Finished building target 'legacy-jre-image' in configuration 'linux-x86_64-normal-server-release' 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 ubuntu.com> 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



More information about the jdk-dev mailing list