title: Create jar file from command line
body: <p>I have the following directory hierarchy :</p>
  
  <pre><code>SigarTest
   src
      SigarTest
       .java files
   bin
      SigarTest
       .class files
  </code></pre>
  
  <p>Here,SigarTest is a package name. The root folder is in the bin folder of the jdk.
  From there, im running the following command to create a jar file of my project - </p>
  
  <pre><code>./jar cfe temp.jar SigarTest.SigarMain SigarTest/bin/ tools.jar sigar.jar mongo-2.7.3.jar
  </code></pre>
  
  <p>where tools.jar, mongo-2.7.3.jar and sigar.jar are required and are in the same folder as root directory (bin folder of jdk). However, on running it, i get</p>
  
  <pre><code>ClassNotFoundException : SigarTest.SigarMain
  </code></pre>
  
  <p>What am i doing wrong ?</p>