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.
在尝试在64位Linux系统上安装 JDK 1.8.0_281-i586 时遇到错误,错误提示表明尝试运行的32位版本的JDK与系统的库不兼容。问题在于缺少必要的32位库支持,即'/lib/ld-linux.so.2'。解决方案是确保系统已安装了所需的32位库,或者下载并安装适合64位系统的JDK版本。
1030

被折叠的 条评论
为什么被折叠?



