title: RMI java doesn't create skeleton class
body: <p>I wrote a remote service MyremoteImpl.java and used following command after compiled it.</p>
  
  <pre><code>rmic MyRemoteImpl
  </code></pre>
  
  <p>I learned that this method suppose to create stub class and a skeleton class but I can only see the stub class, why is that?</p>
  
  <p>The other problem I faced after run rmiregistry I started the service but it gives following error, I doubt I get this error as I'm missing skeleton class? </p>
  
  <pre><code> java.net.MalformedURLException: invalid URL String: Remote Hello
      at java.rmi.Naming.parseURL(Unknown Source)
      at java.rmi.Naming.rebind(Unknown Source)
      at RMIservice.MyRemoteImpl.main(MyRemoteImpl.java:22)
  Caused by: java.net.URISyntaxException: Illegal character in path at index 6: Remote Hello
      at java.net.URI$Parser.fail(Unknown Source)
      at java.net.URI$Parser.checkChars(Unknown Source)
      at java.net.URI$Parser.parseHierarchical(Unknown Source)
      at java.net.URI$Parser.parse(Unknown Source)
      at java.net.URI.&lt;init&gt;(Unknown Source)
      at java.rmi.Naming.intParseURL(Unknown Source)
      ... 3 more
  </code></pre>
  
  <p>Please help me to solve this, Thanx in advance!!!  </p>