简体   繁体   English

使用java.util.zip压缩得到解压膨胀错误

[英]zipped using java.util.zip getting unzip inflate error

I zipped a folder recursively. 我递归压缩了一个文件夹。 When I try to unzip the folder using the command line I get a inflate error. 当我尝试使用命令行解压缩文件夹时,出现膨胀错误。 I don't understand why. 我不明白为什么。 To zip the files I've pretty much done this: http://www.roseindia.net/java/example/java/io/ZipFolderExample.shtml 要压缩文件,我已经做了很多工作: http : //www.roseindia.net/java/example/java/io/ZipFolderExample.shtml

How big is the file? 文件有多大? If it's greater than 2GB (I think) older JDK's will fail. 如果大于2GB(我认为),则较旧的JDK将失败。 I think "older" being even earlier 1.5 versions. 我认为“较旧”甚至是更早的1.5版本。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM