title: Error: Invalid or corrupt jarfile
body: <p>I wrote my java application via Eclipse Luna on Windows.
  And It is maven project.
  I exported <code>runnable jar file</code> with <code>Extract required libraries into generated JAR</code> option.</p>
  
  <p>And then, copied and ran via java8 openjdk <code>java8 -jar chatserver.jar</code> on linux server(EC2 Amazon Linux).</p>
  
  <p>However console outputs just error.</p>
  
  <blockquote>
    <p>Error: Invalid or corrupt jarfile chatserver.jar</p>
  </blockquote>
  
  <p>Here is my menifest.mf</p>
  
  <pre><code>Manifest-Version: 1.0
  Class-Path: .
  Main-Class: {serviceDomain}.chat.ChatServer
  
  Name: org/aspectj/lang/
  Implementation-Title: org.aspectj.tools
  Implementation-Version: 1.8.2
  Bundle-Name: AspectJ Runtime
  Bundle-Version: 1.8.2
  Specification-Vendor: aspectj.org
  Specification-Title: AspectJ Runtime Classes 
  Bundle-Copyright: (C) Copyright 1999-2001 Xerox Corporation, 2002 Palo
     Alto Research Center, Incorporated (PARC), 2003-2009 Contributors. 
    All Rights Reserved.
  Specification-Version: 1.8
  Implementation-Vendor: aspectj.org
  </code></pre>
  
  <p>How can I export java application correctly, or deploy my appliction easily? </p>