<div dir="ltr">Hi Alan,<div><br></div><div>Thanks for the detailed explanation and it would be great to find this in your docs - I will link to it.</div><div><br></div><div>The reasons I understood, jimage might go away, as I read this <span style="color:rgb(0,102,33);font-size:14px;line-height:16px;white-space:nowrap"><a href="https://bugs">https://bugs</a>.</span><b style="color:rgb(0,102,33);font-size:14px;line-height:16px;white-space:nowrap">openjdk</b><span style="color:rgb(0,102,33);font-size:14px;line-height:16px;white-space:nowrap">.<a href="http://java.net/browse/JDK-8049369">java.net/browse/JDK-8049369</a>.</span></div><div><span style="color:rgb(0,102,33);font-size:14px;line-height:16px;white-space:nowrap"><br></span></div><div>But now its clear, they both have their place - I did think of jimage as the runtime container - thanks for confirming<br></div><div><br></div><div>Cheers,</div><div>Mani</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 10, 2015 at 9:52 PM, Jim Connors <span dir="ltr"><<a href="mailto:james.connors@oracle.com" target="_blank">james.connors@oracle.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000"><span class="">
    <div>On 9/10/2015 4:30 PM, Alan Bateman
      wrote:<br>
    </div>
    <blockquote type="cite">I
      don't immediately see the error in the services example (I need to
      look closer) but I think you have a point that this example jumps
      ahead too much. Good idea to get the examples into a repo with
      scripts.
      <br>
      <br>
    </blockquote>
    <br></span>
    In the Services Section:   
    <a href="http://openjdk.java.net/projects/jigsaw/quick-start#services" target="_blank">http://openjdk.java.net/projects/jigsaw/quick-start#services</a><br>
    <pre>    $ cat src/com.greetings/com/greetings/Main.java
    package com.greetings;

    import com.socket.NetworkSocket;

    public class Main {
        public static void main(String[] args) {
            NetworkSocket s = NetworkSocket.open();
        }
    }</pre>
    When you run the com.greetings.Main class via: <br>
    <pre>    $ java -mp mods -m com.greetings/com.greetings.Main</pre>
    The Quick Start guide shows the output as:  <br>
    <pre>    class org.fastsocket.FastNetworkSocket</pre>
    The Main.java file referenced above prints nothing (at least in my
    case), would it have to be modified slightly, something like:<br>
    <br>
    <pre>$ cat src/com.greetings/com/greetings/Main.java
    package com.greetings;

    import com.socket.NetworkSocket;

    public class Main {
        public static void main(String[] args) {
            NetworkSocket s = NetworkSocket.open();
            <font color="#ff0000">System.out.println(s.getClass().toString());</font>
       }
    }</pre>
    -- Jim C<br>
  </div>

</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><a href="http://twitter.com/theNeomatrix369" target="_blank">@theNeomatrix369</a><b style="color:rgb(136,136,136);font-family:arial,helvetica,sans-serif">  |  </b><b><a href="http://neomatrix369.wordpress.com" target="_blank">Blog</a></b><b style="color:rgb(136,136,136);font-family:arial,helvetica,sans-serif">  |  </b>LJC Associate & LJC Advocate (@adoptopenjdk & @adoptajsr programs)<div><font face="arial, helvetica, sans-serif"><b>Meet-a-Project - </b><a href="https://github.com/MutabilityDetector" target="_blank">MutabilityDetector</a></font><b style="color:rgb(136,136,136);font-family:arial,helvetica,sans-serif">  |  </b><font color="#888888" face="arial, helvetica, sans-serif"><font style="font-size:10pt" color="#000000"><b><a href="https://bitbucket.org/neomatrix369" target="_blank">Bitbucket</a></b></font> <b> |  </b><font style="font-size:10pt" color="#000000"><b><a href="https://github.com/neomatrix369" target="_blank">G<font style="font-size:10pt">i</font>thub</a></b></font></font><span style="color:rgb(136,136,136);font-family:arial,helvetica,sans-serif"> </span><b style="color:rgb(136,136,136);font-family:arial,helvetica,sans-serif"> |  </b><b><a href="http://uk.linkedin.com/pub/mani-sarkar/71/a77/39b" target="_blank">LinkedIn</a></b></div><div><b>Come to Devoxx UK 2016:</b> <a href="http://www.devoxx.co.uk/" target="_blank">http://www.devoxx.co.uk/</a></div><div><br></div><div><b><i>Don't chase success, rather aim for "Excellence", and success will come chasing after you!</i></b></div></div></div></div></div>
</div>