Draft JEP proposal: JDK-8200758: Packaging Tool
mandy chung
mandy.chung at oracle.com
Wed Jun 6 17:13:49 UTC 2018
On 5/30/18 5:10 PM, Kevin Rushforth wrote:
> I would like to propose the following Draft JEP [1] for discussion.
>
> JDK-8200758: Packaging Tool
>
> This is intended as a JDK-scope replacement for the existing
> javapackager tool that ships with Oracle JDK 10 (and earlier Oracle JDK
> releases), and was delivered as part of the JavaFX build. The
> javapackager tool has been removed from Oracle JDK 11 along with the
> removal of JavaFX.
>
> Comments on this JEP are welcome. It is currently not targeted for a
> specific release, but we are aiming for JDK 12.
>
> -- Kevin
>
> [1] https://bugs.openjdk.java.net/browse/JDK-820075
Good to see this moving along. A couple of comments:
I think the JEP may need to mention the layout of an application image
and define what's supported and unsupported to make it clear for
developers what should or should not depend on, for example,
the location of the application launcher and user-editable configuration
files etcs.
javapackager strips the tool launchers from the run-time image and
enables compression. Does jpackager do something similar? As the
development moves along, it'd be useful to include some command-line
examples and describe the content of the run-time image produced.
As part of this JEP, we need to look at the difference of the native
launcher created by jpackager and by jlink. jlink creates a native
launcher for modular application and possibly share same mechanism
in creating native launchers.
Mandy
More information about the core-libs-dev
mailing list