jpackage current status
Alan Bateman
Alan.Bateman at oracle.com
Fri Feb 21 15:36:44 UTC 2020
On 21/02/2020 15:23, Michael Hall wrote:
> If I look at the jpackage page…
>
> The jpackage tool has been integrated into the JDK, and is now included in JDK 14 early access builds.
>
> The normal early access page now indicates release candidate and the download no longer includes -ea
>
> However, the included jpackage still shows…
>
> jpackage --help
> WARNING: Using incubator modules: jdk.incubator.jpackage
> ...
>
> With an incubator warning.
Yes, should be expected as its an incubating module in JDK 14. The CLI
options and application layout are non-final. The "Deliverying jpackage"
section in JEP 343 has more this.
>
> If I copy the jpackage bin command into my application
>
> ./jpackage --help
> Error occurred during initialization of boot layer
> java.lang.module.FindException: Module jdk.incubator.jpackage not found
>
> I could add the indicated jdk.incubator.jpackage module but should it actually still be needed?
You can't copy launchers in this way as it requires the module to be in
the run-time image.
-Alan
More information about the core-libs-dev
mailing list