当前位置: 技术问答>linux和unix
centos 下解压zip格式文件的问题
来源: 互联网 发布时间:2017-01-01
本文导语: 首先我 unzip ****.zip文件出现 Archive: linux.zip End-of-central-directory signature not found. Either this file is not a zipfile, or it constitutes one disk of a multi-part archive. In the latter case the central directory and zipfi...
首先我
unzip ****.zip文件出现
Archive: linux.zip
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip: cannot find zipfile directory in one of linux.zip or
linux.zip.zip, and cannot find linux.zip.ZIP, period.
然后按照网上说的 安装了jdk
然后用 jar ***.zip文件又出现
java.lang.IllegalArgumentException
at java.util.zip.ZipInputStream.getUTF8String(ZipInputStream.java:324)
at java.util.zip.ZipInputStream.readLOC(ZipInputStream.java:264)
at java.util.zip.ZipInputStream.getNextEntry(ZipInputStream.java:91)
at sun.tools.jar.Main.extract(Main.java:868)
at sun.tools.jar.Main.run(Main.java:260)
at sun.tools.jar.Main.main(Main.java:1167)
请各位大侠帮帮忙啊
unzip ****.zip文件出现
Archive: linux.zip
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip: cannot find zipfile directory in one of linux.zip or
linux.zip.zip, and cannot find linux.zip.ZIP, period.
然后按照网上说的 安装了jdk
然后用 jar ***.zip文件又出现
java.lang.IllegalArgumentException
at java.util.zip.ZipInputStream.getUTF8String(ZipInputStream.java:324)
at java.util.zip.ZipInputStream.readLOC(ZipInputStream.java:264)
at java.util.zip.ZipInputStream.getNextEntry(ZipInputStream.java:91)
at sun.tools.jar.Main.extract(Main.java:868)
at sun.tools.jar.Main.run(Main.java:260)
at sun.tools.jar.Main.main(Main.java:1167)
请各位大侠帮帮忙啊
|
你这个格式不是zip的吧.
file xxx.zip看看.
file xxx.zip看看.
|
看输出是zip的.
你的zip什么版本的, 是不是版本太低了,
我的:
unzip 命令会输出如下信息.
UnZip 6.00 of 20 April 2009, by Info-ZIP.
你的zip什么版本的, 是不是版本太低了,
我的:
unzip 命令会输出如下信息.
UnZip 6.00 of 20 April 2009, by Info-ZIP.