title: RemoteException java.rmi.UnmarshalException: error unmarshalling return
body: <p>I'm running the program <a href="http://download.oracle.com/javase/6/docs/technotes/guides/rmi/hello/hello-world.html" rel="noreferrer">here</a> on 2 JVMs on diff physical machines. I get the error    </p>
  
  <pre><code>RemoteException
  java.rmi.UnmarshalException: error unmarshalling return; nested exception is: 
      java.lang.ClassNotFoundException: CalculatorImpl_Stub (no security manager: RMI class loader disabled)
  </code></pre>
  
  <p>I've even tried running it on the same machine(unchanged program) and it works but it doesnt work on diff machines. Can someone pls help me out?</p>
  
  <p>@beny23- Thanks but I still end up with this error:</p>
  
  <pre><code>RemoteException
  java.rmi.UnmarshalException: error unmarshalling return; nested exception is: 
  java.lang.ClassNotFoundException: CalculatorImpl_Stub
  </code></pre>
  
  <p>How can the client side have a copy of CalculatorImpl_stub?</p>