unpack could not create JAR file
在Linux上安装jdk的时候出现了下列错误,错误原因是因为在64位系统中安装了32位的jdk。
下载的时候注意CPU架构和位数:
Error: unpack could not create JAR file:
/usr/java/jdk1.8.0_281-i586/lib/tools.jar
Please refer to the Troubleshooting section of the Installation Instructions
on the download page.
plugin.jar...
/var/tmp/rpm-tmp.kiuRzn: /usr/java/jdk1.8.0_281-i586/bin/unpack200: /lib/ld-linux.so.2: bad ELF interpreter: 没有那个文件或目录
Error: unpack could not create JAR file:
/usr/java/jdk1.8.0_281-i586/jre/lib/plugin.jar
Please refer to the Troubleshooting section of the Installation Instructions
on the download page.
javaws.jar...
/var/tmp/rpm-tmp.kiuRzn: /usr/java/jdk1.8.0_281-i586/bin/unpack200: /lib/ld-linux.so.2: bad ELF interpreter: 没有那个文件或目录
Error: unpack could not create JAR file:
/usr/java/jdk1.8.0_281-i586/jre/lib/javaws.jar
Please refer to the Troubleshooting section of the Installation Instructions
on the download page.
deploy.jar...
/var/tmp/rpm-tmp.kiuRzn: /usr/java/jdk1.8.0_281-i586/bin/unpack200: /lib/ld-linux.so.2: bad ELF interpreter: 没有那个文件或目录
Error: unpack could not create JAR file:
/usr/java/jdk1.8.0_281-i586/jre/lib/deploy.jar
Please refer to the Troubleshooting section of the Installation Instructions
on the download page.
rt.jar...
/var/tmp/rpm-tmp.kiuRzn: /usr/java/jdk1.8.0_281-i586/bin/unpack200: /lib/ld-linux.so.2: bad ELF interpreter: 没有那个文件或目录
Error: unpack could not create JAR file:
/usr/java/jdk1.8.0_281-i586/jre/lib/rt.jar
Please refer to the Troubleshooting section of the Installation Instructions
on the download page.
jsse.jar...
/var/tmp/rpm-tmp.kiuRzn: /usr/java/jdk1.8.0_281-i586/bin/unpack200: /lib/ld-linux.so.2: bad ELF interpreter: 没有那个文件或目录
Error: unpack could not create JAR file:
/usr/java/jdk1.8.0_281-i586/jre/lib/jsse.jar
Please refer to the Troubleshooting section of the Installation Instructions
on the download page.
charsets.jar...
/var/tmp/rpm-tmp.kiuRzn: /usr/java/jdk1.8.0_281-i586/bin/unpack200: /lib/ld-linux.so.2: bad ELF interpreter: 没有那个文件或目录
Error: unpack could not create JAR file:
/usr/java/jdk1.8.0_281-i586/jre/lib/charsets.jar
Please refer to the Troubleshooting section of the Installation Instructions
on the download page.
localedata.jar...
/var/tmp/rpm-tmp.kiuRzn: /usr/java/jdk1.8.0_281-i586/bin/unpack200: /lib/ld-linux.so.2: bad ELF interpreter: 没有那个文件或目录
Error: unpack could not create JAR file:
/usr/java/jdk1.8.0_281-i586/jre/lib/ext/localedata.jar
Please refer to the Troubleshooting section of the Installation Instructions
on the download page.