title: Creating a JAR File from the Command Line Doesn't Work
body: <p>I've edited this question, and now it is exactly what I did:</p>
  
  <p>I want to create a .jar file from some  .class files in the command line.</p>
  
  <p>I worked on Eclipse, and created:</p>
  
  <p>myProject project, and in it: myPackage package, and in it: myClass class.
  Then I wrote in the command line:</p>
  
  <pre><code>jar -cfv myJar.jar  myPackage\myClass.class
  </code></pre>
  
  <p>And I got this:</p>
  
  <pre><code>added manifest
  adding: myPackage/myClass.class(in = 745) (out= 473)(deflated 36%)
  </code></pre>
  
  <p>This really created the myJar.jar file in my current directory. Now, I wanted to check if the process was done successfully, so I extracted the class from the jar thus: </p>
  
  <pre><code>jar xfv myJar.jar
  </code></pre>
  
  <p>And I got this:</p>
  
  <pre><code>  created: META-INF/
   inflated: META-INF/MANIFEST.MF
   inflated: myPackage/myClass.class
  </code></pre>
  
  <p>And this created for me just the META-INF folder, with the MANIFEST.MF in it, but I don't see any .class file here!!</p>
  
  <p>It seems like something in the packing to jar process is incorrect.</p>
  
  <p>Anybody has an idea??</p>
  
  <p>Any answer is appreciated!</p>