title: Running a jar file from terminal in ubuntu
body: <p>I have a jar file , which when i execute by </p>
  
  <pre><code> java -jar firstjar.jar
  </code></pre>
  
  <p>I get the following errors </p>
  
  <blockquote>
    <p>Error: Invalid or corrupt jarfile firstjar.jar</p>
  </blockquote>
  
  <p>Here is my manifest file</p>
  
  <pre><code> Manifest-Version: 1.0
   Created-By: 1.7.0_79 (Oracle Corporation)
   Class-Path:mysql-connector-java-5.1.28.jar
   Main-Class:JavaApplication1
  </code></pre>
  
  <p>Contents of jar file </p>
  
  <pre><code>0 Wed May 13 14:09:06 IST 2015 META-INF/
  140 Thu May 14 00:26:26 IST 2015 META-INF/MANIFEST.MF
  2917 Wed May 13 13:16:02 IST 2015 JavaApplication1.class
  </code></pre>
  
  <p>Thanks in advance!</p>