<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
On 25/04/2023 13:20, Eirik Bjørsnøs wrote:<br>
<blockquote type="cite" cite="mid:CA+pBWhvKeDbiXef=AzHYCG4C+xwJV2XNCXFUupTOLMWhJh1SjQ@mail.gmail.com">
<div><br>
</div>
<div><br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">tir. 25. apr. 2023 kl. 13:30
skrev Eirik Bjørsnøs <<a href="mailto:eirbjo@gmail.com" moz-do-not-send="true" class="moz-txt-link-freetext">eirbjo@gmail.com</a>>:</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)">
<div dir="ltr">
<div><br>
</div>
<div dir="auto">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?</div>
</div>
</blockquote>
<div dir="auto"><br>
</div>
<div dir="auto">Found the —add-options plugin, which probably
does what I need.</div>
<br>
</div>
</div>
</blockquote>
<br>
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.<br>
<br>
-Alan.<br>
</body>
</html>