Error: unpack could not create JAR file:
2016-08-10 11:16
417 查看
[root@test ~]# rpm -ivh jdk-7u55-linux-i586.rpm
Preparing... ########################################### [100%]
1:jdk ########################################### [100%]
Unpacking JAR files...
rt.jar...
/var/tmp/rpm-tmp.dTi5eF: /usr/java/jdk1.7.0_55/bin/unpack200: /lib/ld-linux.so.2: bad ELF interpreter: 没有那个文件或目录
Error: unpack could not create JAR file:
/usr/java/jdk1.7.0_55/jre/lib/rt.jar
Please refer to the Troubleshooting section of the Installation Instructions
on the download page.
jsse.jar...
/var/tmp/rpm-tmp.dTi5eF: /usr/java/jdk1.7.0_55/bin/unpack200: /lib/ld-linux.so.2: bad ELF interpreter: 没有那个文件或目录
Error: unpack could not create JAR file:
/usr/java/jdk1.7.0_55/jre/lib/jsse.jar
Please refer to the Troubleshooting section of the Installation Instructions
on the download page.
charsets.jar...
/var/tmp/rpm-tmp.dTi5eF: /usr/java/jdk1.7.0_55/bin/unpack200: /lib/ld-linux.so.2: bad ELF interpreter: 没有那个文件或目录
Error: unpack could not create JAR file:
/usr/java/jdk1.7.0_55/jre/lib/charsets.jar
Please refer to the Troubleshooting section of the Installation Instructions
on the download page.
tools.jar...
/var/tmp/rpm-tmp.dTi5eF: /usr/java/jdk1.7.0_55/bin/unpack200: /lib/ld-linux.so.2: bad ELF interpreter: 没有那个文件或目录
Error: unpack could not create JAR file:
/usr/java/jdk1.7.0_55/lib/tools.jar
Please refer to the Troubleshooting section of the Installation Instructions
on the download page.
localedata.jar...
/var/tmp/rpm-tmp.dTi5eF: /usr/java/jdk1.7.0_55/bin/unpack200: /lib/ld-linux.so.2: bad ELF interpreter: 没有那个文件或目录
Error: unpack could not create JAR file:
/usr/java/jdk1.7.0_55/jre/lib/ext/localedata.jar
Please refer to the Troubleshooting section of the Installation Instructions
on the download page.
jfxrt.jar...
/var/tmp/rpm-tmp.dTi5eF: /usr/java/jdk1.7.0_55/bin/unpack200: /lib/ld-linux.so.2: bad ELF interpreter: 没有那个文件或目录
Error: unpack could not create JAR file:
/usr/java/jdk1.7.0_55/jre/lib/jfxrt.jar
Please refer to the Troubleshooting section of the Installation Instructions
on the download page.
plugin.jar...
/var/tmp/rpm-tmp.dTi5eF: /usr/java/jdk1.7.0_55/bin/unpack200: /lib/ld-linux.so.2: bad ELF interpreter: 没有那个文件或目录
Error: unpack could not create JAR file:
/usr/java/jdk1.7.0_55/jre/lib/plugin.jar
Please refer to the Troubleshooting section of the Installation Instructions
on the download page.
javaws.jar...
/var/tmp/rpm-tmp.dTi5eF: /usr/java/jdk1.7.0_55/bin/unpack200: /lib/ld-linux.so.2: bad ELF interpreter: 没有那个文件或目录
Error: unpack could not create JAR file:
/usr/java/jdk1.7.0_55/jre/lib/javaws.jar
Please refer to the Troubleshooting section of the Installation Instructions
on the download page.
deploy.jar...
/var/tmp/rpm-tmp.dTi5eF: /usr/java/jdk1.7.0_55/bin/unpack200: /lib/ld-linux.so.2: bad ELF interpreter: 没有那个文件或目录
Error: unpack could not create JAR file:
/usr/java/jdk1.7.0_55/jre/lib/deploy.jar
Please refer to the Troubleshooting section of the Installation Instructions
on the download page.
原因:
64位系统中安装了32位程序。
解决方法:
运行以下命令:
[root@test ~]# yum install libgcc.i686
[root@test ~]# yum install ld-linux.so.2
再重新安装JDK
Preparing... ########################################### [100%]
1:jdk ########################################### [100%]
Unpacking JAR files...
rt.jar...
/var/tmp/rpm-tmp.dTi5eF: /usr/java/jdk1.7.0_55/bin/unpack200: /lib/ld-linux.so.2: bad ELF interpreter: 没有那个文件或目录
Error: unpack could not create JAR file:
/usr/java/jdk1.7.0_55/jre/lib/rt.jar
Please refer to the Troubleshooting section of the Installation Instructions
on the download page.
jsse.jar...
/var/tmp/rpm-tmp.dTi5eF: /usr/java/jdk1.7.0_55/bin/unpack200: /lib/ld-linux.so.2: bad ELF interpreter: 没有那个文件或目录
Error: unpack could not create JAR file:
/usr/java/jdk1.7.0_55/jre/lib/jsse.jar
Please refer to the Troubleshooting section of the Installation Instructions
on the download page.
charsets.jar...
/var/tmp/rpm-tmp.dTi5eF: /usr/java/jdk1.7.0_55/bin/unpack200: /lib/ld-linux.so.2: bad ELF interpreter: 没有那个文件或目录
Error: unpack could not create JAR file:
/usr/java/jdk1.7.0_55/jre/lib/charsets.jar
Please refer to the Troubleshooting section of the Installation Instructions
on the download page.
tools.jar...
/var/tmp/rpm-tmp.dTi5eF: /usr/java/jdk1.7.0_55/bin/unpack200: /lib/ld-linux.so.2: bad ELF interpreter: 没有那个文件或目录
Error: unpack could not create JAR file:
/usr/java/jdk1.7.0_55/lib/tools.jar
Please refer to the Troubleshooting section of the Installation Instructions
on the download page.
localedata.jar...
/var/tmp/rpm-tmp.dTi5eF: /usr/java/jdk1.7.0_55/bin/unpack200: /lib/ld-linux.so.2: bad ELF interpreter: 没有那个文件或目录
Error: unpack could not create JAR file:
/usr/java/jdk1.7.0_55/jre/lib/ext/localedata.jar
Please refer to the Troubleshooting section of the Installation Instructions
on the download page.
jfxrt.jar...
/var/tmp/rpm-tmp.dTi5eF: /usr/java/jdk1.7.0_55/bin/unpack200: /lib/ld-linux.so.2: bad ELF interpreter: 没有那个文件或目录
Error: unpack could not create JAR file:
/usr/java/jdk1.7.0_55/jre/lib/jfxrt.jar
Please refer to the Troubleshooting section of the Installation Instructions
on the download page.
plugin.jar...
/var/tmp/rpm-tmp.dTi5eF: /usr/java/jdk1.7.0_55/bin/unpack200: /lib/ld-linux.so.2: bad ELF interpreter: 没有那个文件或目录
Error: unpack could not create JAR file:
/usr/java/jdk1.7.0_55/jre/lib/plugin.jar
Please refer to the Troubleshooting section of the Installation Instructions
on the download page.
javaws.jar...
/var/tmp/rpm-tmp.dTi5eF: /usr/java/jdk1.7.0_55/bin/unpack200: /lib/ld-linux.so.2: bad ELF interpreter: 没有那个文件或目录
Error: unpack could not create JAR file:
/usr/java/jdk1.7.0_55/jre/lib/javaws.jar
Please refer to the Troubleshooting section of the Installation Instructions
on the download page.
deploy.jar...
/var/tmp/rpm-tmp.dTi5eF: /usr/java/jdk1.7.0_55/bin/unpack200: /lib/ld-linux.so.2: bad ELF interpreter: 没有那个文件或目录
Error: unpack could not create JAR file:
/usr/java/jdk1.7.0_55/jre/lib/deploy.jar
Please refer to the Troubleshooting section of the Installation Instructions
on the download page.
原因:
64位系统中安装了32位程序。
解决方法:
运行以下命令:
[root@test ~]# yum install libgcc.i686
[root@test ~]# yum install ld-linux.so.2
再重新安装JDK
相关文章推荐
- Could not create JarEntryRevision for [jar:file:/C:/Program%....
- Myeclipse中Struts2运行问题:Could not create JarEntryRevision for [jar:file:/E:/Java/Tomcat%206.0/webapps/Struts2.1/WEB-INF/lib/struts
- [ERROR] Could not create unix socket lock file /var/run/mysql/mysql.sock.lock
- 解决: org.iq80.leveldb.DBException: IO error: C:\data\trie\000945.sst: Could not create random access file.
- VS 2008 Setup Project Build 出现 ERROR: Could not create the file,发现是Chrome 启服务Software Protection的导致。
- Response:553 Could not create file. Error:Critical file transfer during redhat 安装vsftpd
- 【VSFTPD】vsFTPd的553 Could not create file 错误
- solve the error : Could not open lock file /var/lib/apt/lists/lock
- vsftp "上传 553 Could not create file"
- ADS1.2 Error:(Fatal) L6002u:could not open file E:/...
- Windows7安装nginx后,'nginx -t -c nginx.conf' 命令出现 “could not open error log file: CreateFile() "logs/error.log" failed” 错误的原因
- Compiler Error Message: CS0016: Could not write to output file 'c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\xxx' -- 'Access is denied. '
- vsFTPd的553 Could not create file 错误
- load_file:could not read 174863040 bytes from 'system.img' error:cannot load 'system.img'
- ADS1.2 Error:(Fatal) L6002u:could not open file C:/...
- adb出错时,出现 CreateProcess failure, error 2 * could not start server *的解决办法
- virt-manager启动本地连接报错:internal error: could not get interface XML description: File operation failed
- Compiler Error Message: CS0006:Metadata file "xxxx.dll" could not be found
- CS0016: 未能写入(A compilation error has occurred.HttpCompileException: error CS0016: Could not write to output file 拒绝访问)
- AIR打包错误Error creating AIR file: Could not generate timestamp: Connection timed out: connect