Dec 13
|
If you get the following error when trying to read a valid zip file using Java it may be because it contains an entry larger than 4gb.
java.util.zip.ZipException: invalid CEN header
Java’s implementation of Java only support entries smaller than 4gb. To read a zip file that contains entries larger than 4gb you will need to use a 3rd pary implementation such as Zip64