title: Copying a jar file from Windows 7 to Unix gives java.util.zip.ZipException
body: <p>I am copying a jar file from Windows 7 to my application lib folder on Unix machine through WinScp. On starting my application, i am getting the below error. Is the jar file corrupted while copying it. What is the correct way to copy the jar ?</p>
  
  <pre><code>java.util.zip.ZipException: invalid END header (bad central directory offset)
      at java.util.zip.ZipFile.open(Native Method)
      at java.util.zip.ZipFile.&lt;init&gt;(ZipFile.java:127)
      at java.util.jar.JarFile.&lt;init&gt;(JarFile.java:135)
      at java.util.jar.JarFile.&lt;init&gt;(JarFile.java:72)
  </code></pre>