title: Client fails to connect with RMI registry when using ProcessBuilder
body: <p>If i'm creating the RMI registry from <strong>command line</strong>, the client has no problem in binding objects to the registry.</p>
  
  <p>However, if i'm starting the RMI registry using <code>ProcessBuilder</code>, it's giving error.</p>
  
  <p>This is my code for creating <code>rmiregistry</code> using <code>ProcessBuilder</code></p>
  
  <pre><code>ProcessBuilder obj = new ProcessBuilder ("rmiregistry","2500");
  
  Process obj_process = obj.start();
  </code></pre>
  
  <p>The error that i'm getting for using <code>ProcessBuilder</code> when I'm trying to bind to my own RMI registry</p>
  
  <pre><code>java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: 
  java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is: 
  java.lang.ClassNotFoundException: node_func
  </code></pre>
  
  <p><code>node_func</code> is an interface</p>
  
  <p>Any ideas?</p>