Project Jigsaw: Early-Access Builds available on jdk9.java.net/jigsaw
Alan.Bateman at oracle.com
Mon Sep 14 17:49:10 UTC 2015
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.
More information about the adoption-discuss