title: compile a java project with different packages
body: <p>I have a java project in eclipse with different packages. How can I compile the project from command line in unix (bash) ? Using plain javac doesnt seem to work. For eg, in eclipse I have </p>
  
  <pre><code>src
  ...server
  ...client
  ...shared
  </code></pre>
  
  <p>And the main file that I want to run later is in the server package called server.java</p>