I have a large zip file, 4.3g. There are about 100k entries in it, I get it on Linux, Ubuntu 32 bit Java 1.6.0_14 I am using, and I am getting the following exception.
java.util.zip.ZipException: illegal header on java.util.zip.ZipFile.read (original method) at java.util.zip.ZipFile.access (bad signature) $ 1200 (Zipfile.java29) java.util.zip.ZipFile at $ ZipFileInputStream.read (ZipFile.java:447) java.util.zip.ZipFile $ 1.fill (zipfile.javaage 30) java.util.zip on Java. Java.io.buffferedInputStream.read1 (bufferedInputStream.java:258) on java.io.buffferedInputStream.fill (BufferedInputStream.java Month 18) on io.buffferedInputStream.read.InflaterInputStream.read (InflaterInputStream.java:141) (Juw. I do not have problems with other ZIP files (they have the code to process) in io.filterInputStream.read (FilterInputStream.java:90)
Hoot mature) and I have verified that I can open the zip file properly from the command line using 'unzip'.
Any clue? Thanks!
Zip files over 4 GB size, zip file extension need to support Zip 64 extension PKWARE.
Until Java 6, this support is not available in Java.TlzG classes, and only recently added to Java 7 (It is not necessary to say that this is not a GA release. Write time).
Reference:
Comments
Post a Comment