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

Reply via email to