jlink --add-modules not applied to launcher
Alan Bateman
Alan.Bateman at oracle.com
Tue Apr 25 12:48:16 UTC 2023
On 25/04/2023 13:20, Eirik Bjørsnøs wrote:
>
>
> tir. 25. apr. 2023 kl. 13:30 skrev Eirik Bjørsnøs <eirbjo at gmail.com>:
>
>
> So far I haven't found a way to tell jlink which modules should be
> added to the launcher's boot modules. Am I missing some switch?
>
>
> Found the —add-options plugin, which probably does what I need.
>
The command line parsing in jlink doesn't currently allow the argument
for a plugin use GNU style options. There are workarounds, e.g.
`--add-options \ --add-modules=foo,bar` so you mileage might vary on this.
-Alan.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/jigsaw-dev/attachments/20230425/64ba0c1e/attachment.htm>
More information about the jigsaw-dev
mailing list