<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    <br>
    <div class="moz-cite-prefix">On 14/09/2015 17:48, Rahman USTA wrote:<br>
    </div>
    <blockquote
cite="mid:CAGe7fv3_7Ttg-J8apwMZnRktBvOXs-Xo9H951fh0gCf3Md6UQA@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div class="" style="margin:0px 0px
            1.25em;padding:0px;direction:ltr;color:rgba(0,0,0,0.8);font-family:'Noto
            Serif','DejaVu
            Serif',serif;font-size:16px;line-height:16px;text-align:justify">
            <div class="" style="margin:0px;padding:0px;direction:ltr">
              <pre class="" style="font-family:'Droid Sans Mono','DejaVu Sans Mono',monospace,monospace;font-size:0.8125em;white-space:pre-wrap;margin-top:0px;margin-bottom:0px;direction:ltr;line-height:1.45;color:rgba(0,0,0,0.901961);border-radius:4px;word-wrap:break-word;padding:0px!important"><code class="" style="font-family:'Droid Sans Mono','DejaVu Sans Mono',monospace,monospace;font-size:0.9em;color:black;line-height:1.45;display:block;padding:1em;border-radius:4px;background-color:rgb(240,240,240)"><span class="" style="color:rgb(136,136,136)">jlink</span> <span class="" style="color:rgb(0,136,0)">-</span><span class="" style="color:rgb(0,136,0)">-</span><span class="" style="color:rgb(136,136,136)">modulepath</span> <span class="" style="color:rgb(136,136,136)">%JAVA_HOME%/jmods;mlib</span> <span class="" style="color:rgb(0,136,0)">-</span><span class="" style="color:rgb(0,136,0)">-</span><span class="" style="color:rgb(136,136,136)">addmods</span> <span class="" st!
 yle="color
:rgb(136,136,136)">com</span><span class="" style="color:rgb(136,0,0)">.</span><span class="" style="color:rgb(136,136,136)">greetings</span> <span class="" style="color:rgb(0,136,0)">-</span><span class="" style="color:rgb(0,136,0)">-</span><span class="" style="color:rgb(136,136,136)">output</span> <span class="" style="color:rgb(136,136,136)">greetingsapp</span></code></pre>
            </div>
          </div>
        </div>
        <div>After last step, greetingsapp folder generated with all
          Jigsaw modules. How can I include just base mod or other
          compact mods ?</div>
        <div><br>
        </div>
      </div>
    </blockquote>
    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? <br>
    <br>
    If you run "greetingsapp/bin/java -listmods" then it will list the
    names of the modules in the generated image.<br>
    <br>
    -Alan<br>
    <br>
  </body>
</html>