title: JAR inclusion not working
body: <p>I am learning how to create an RMI system, and I compiled the shared classes into a .jar, but when I try to include it, the following error occurs:</p>
  
  <pre><code>javac -cp compute.jar Client.java
  
  Client.java:6: error: package rmi.interfaces does not exist
  import rmi.interfaces.Tasks;
                       ^
  Client.java:17: error: cannot find symbol
                          Tasks stub = (Tasks) registry.lookup("Tasks");
                          ^
    symbol:   class Tasks
    location: class Client
  Client.java:17: error: cannot find symbol
                          Tasks stub = (Tasks) registry.lookup("Tasks");
                                        ^
    symbol:   class Tasks
    location: class Client
  3 errors
  </code></pre>
  
  <p>The classes it needs are inside the jar, but for some reason it can't find them. How can I fix this?</p>