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

Alan Bateman Alan.Bateman at oracle.com
Sat Jul 7 19:41:06 UTC 2018


On 07/07/2018 05:07, Matthias Klose wrote:
>
> If you look at any other packaged software, you most likely see more 
> than one binary package made out of a source package, like library 
> packages, application packages and development packages (having a -dev 
> or -devel suffix), Other binary package might be split out to avoid 
> dependencies on window system libraries. And the distro packaging 
> never included the jre components into the sdk packages unlike 
> upstream, but instead depended on the jre components.
JEP 220 was integrated in 2014 for JDK 9 so I'm puzzled as to why this 
is only coming up now. Did you do this splitting with JDK 9 and JDK 10? 
I can't see how this could have worked without either re-running jlink 
or else having your "jre" image including the classes/resources for all 
modules that are in the "jdk" image.

-Alan


More information about the jdk-dev mailing list