Project Jigsaw: Early-Access Builds available on

Rahman USTA rahman.usta.88 at
Mon Sep 14 19:11:48 UTC 2015

Yes with "--limitmods com.greetings" the result as I expected. So, why
jlink links all modules without resolving over the root "org.greetings"
module? When jlink links all modules?


2015-09-14 20:49 GMT+03:00 Alan Bateman <Alan.Bateman at>:

> On 14/09/2015 17:48, Rahman USTA wrote:
> jlink --modulepath %JAVA_HOME%/jmods;mlib --addmods com.greetings --output greetingsapp
> After last step, greetingsapp folder generated with all Jigsaw modules.
> How can I include just base mod or other compact mods ?
> I assume what you are seeing is service binding with service providers and
> their dependencies getting linked into the image. Can you add "--limitmods
> com.greetings" to the command line and see if that gets you the run-time
> image that you expect?
> If you run "greetingsapp/bin/java -listmods" then it will list the names
> of the modules in the generated image.
> -Alan

Rahman USTA
Istanbul JUG <>

More information about the adoption-discuss mailing list