title: running a java program in linux
body: <p>I am trying to run a java program in linux environment. The program is structured as follows.</p>
  
  <p>src (directory)</p>
  
  <ul>
  <li><p>main (directory)</p>
  
  <p>--  test.java</p></li>
  <li><p>common (package)</p>
  
  <p>--  a.java</p>
  
  <p>-- b.java</p></li>
  </ul>
  
  <p>Test.java is my main program. </p>
  
  <p>I used the following command to run the program from the src directory level. </p>
  
  <p>javac -cp "../../lib/netcdf.jar:/common/*.java" main/test.java</p>
  
  <p>I am getting errors related to package common not found and all the classes under it are not found.</p>
  
  <p>Can you please help me solve this.</p>
  
  <p>Thanks</p>