title: How to create Uncompressed Zip archive in Java
body: <p>I am using the Zip utility package of Java and wanted to know how to create a zip file with no compression at all.  Setting the level to 0 doesn't help.  Is this right?</p>
  
  <p>Also, when I used the <code>STORED</code> method, it throws following exception:</p>
  
  <pre><code>java.util.zip.ZipException: STORED entry missing size, compressed size, or crc-32
  </code></pre>
  
  <p>I can set the size but now following exception is thrown:</p>
  
  <pre><code>java.util.zip.ZipException: invalid entry crc-32 
  </code></pre>
  
  <p>I am just following all the examples available by searching on the web and I am not able to really understand it properly I guess.  It would be great if someone can help me on this and provide me suggestion to correct the problem I might be doing.</p>