当前位置: 技术问答>linux和unix
redhat linux 9.0安装jdk出错
来源: 互联网 发布时间:2017-01-05
本文导语: [root@localhost pub]# rpm -ivh jdk-7-linux-i586.rpm Preparing... ########################################### [100%] 1:jdk ########################################### [100%] Unpacking JAR files... ...
[root@localhost pub]# rpm -ivh jdk-7-linux-i586.rpm
Preparing... ########################################### [100%]
1:jdk ########################################### [100%]
Unpacking JAR files...
rt.jar...
/usr/java/jdk1.7.0/bin/unpack200: /lib/libgcc_s.so.1: version `GCC_4.2.0' not found (required by /usr/java/jdk1.7.0/bin/unpack200)
/usr/java/jdk1.7.0/bin/unpack200: /lib/libgcc_s.so.1: version `GCC_3.3' not found (required by /usr/java/jdk1.7.0/bin/unpack200)
/usr/java/jdk1.7.0/bin/unpack200: /lib/tls/libc.so.6: version `GLIBC_2.4' not found (required by /usr/java/jdk1.7.0/bin/unpack200)
Error: unpack could not create JAR file:
/usr/java/jdk1.7.0/jre/lib/rt.jar
Please refer to the Troubleshooting section of the Installation Instructions
on the download page.
jsse.jar...
/usr/java/jdk1.7.0/bin/unpack200: /lib/libgcc_s.so.1: version `GCC_4.2.0' not found (required by /usr/java/jdk1.7.0/bin/unpack200)
/usr/java/jdk1.7.0/bin/unpack200: /lib/libgcc_s.so.1: version `GCC_3.3' not found (required by /usr/java/jdk1.7.0/bin/unpack200)
/usr/java/jdk1.7.0/bin/unpack200: /lib/tls/libc.so.6: version `GLIBC_2.4' not found (required by /usr/java/jdk1.7.0/bin/unpack200)
Error: unpack could not create JAR file:
/usr/java/jdk1.7.0/jre/lib/jsse.jar
Please refer to the Troubleshooting section of the Installation Instructions
on the download page.
charsets.jar...
/usr/java/jdk1.7.0/bin/unpack200: /lib/libgcc_s.so.1: version `GCC_4.2.0' not found (required by /usr/java/jdk1.7.0/bin/unpack200)
/usr/java/jdk1.7.0/bin/unpack200: /lib/libgcc_s.so.1: version `GCC_3.3' not found (required by /usr/java/jdk1.7.0/bin/unpack200)
/usr/java/jdk1.7.0/bin/unpack200: /lib/tls/libc.so.6: version `GLIBC_2.4' not found (required by /usr/java/jdk1.7.0/bin/unpack200)
Error: unpack could not create JAR file:
/usr/java/jdk1.7.0/jre/lib/charsets.jar
Please refer to the Troubleshooting section of the Installation Instructions
on the download page.
tools.jar...
/usr/java/jdk1.7.0/bin/unpack200: /lib/libgcc_s.so.1: version `GCC_4.2.0' not found (required by /usr/java/jdk1.7.0/bin/unpack200)
/usr/java/jdk1.7.0/bin/unpack200: /lib/libgcc_s.so.1: version `GCC_3.3' not found (required by /usr/java/jdk1.7.0/bin/unpack200)
/usr/java/jdk1.7.0/bin/unpack200: /lib/tls/libc.so.6: version `GLIBC_2.4' not found (required by /usr/java/jdk1.7.0/bin/unpack200)
Error: unpack could not create JAR file:
/usr/java/jdk1.7.0/lib/tools.jar
Please refer to the Troubleshooting section of the Installation Instructions
on the download page.
localedata.jar...
/usr/java/jdk1.7.0/bin/unpack200: /lib/libgcc_s.so.1: version `GCC_4.2.0' not found (required by /usr/java/jdk1.7.0/bin/unpack200)
/usr/java/jdk1.7.0/bin/unpack200: /lib/libgcc_s.so.1: version `GCC_3.3' not found (required by /usr/java/jdk1.7.0/bin/unpack200)
/usr/java/jdk1.7.0/bin/unpack200: /lib/tls/libc.so.6: version `GLIBC_2.4' not found (required by /usr/java/jdk1.7.0/bin/unpack200)
Error: unpack could not create JAR file:
/usr/java/jdk1.7.0/jre/lib/ext/localedata.jar
Please refer to the Troubleshooting section of the Installation Instructions
on the download page.
plugin.jar...
/usr/java/jdk1.7.0/bin/unpack200: /lib/libgcc_s.so.1: version `GCC_4.2.0' not found (required by /usr/java/jdk1.7.0/bin/unpack200)
/usr/java/jdk1.7.0/bin/unpack200: /lib/libgcc_s.so.1: version `GCC_3.3' not found (required by /usr/java/jdk1.7.0/bin/unpack200)
/usr/java/jdk1.7.0/bin/unpack200: /lib/tls/libc.so.6: version `GLIBC_2.4' not found (required by /usr/java/jdk1.7.0/bin/unpack200)
Error: unpack could not create JAR file:
/usr/java/jdk1.7.0/jre/lib/plugin.jar
Please refer to the Troubleshooting section of the Installation Instructions
on the download page.
javaws.jar...
/usr/java/jdk1.7.0/bin/unpack200: /lib/libgcc_s.so.1: version `GCC_4.2.0' not found (required by /usr/java/jdk1.7.0/bin/unpack200)
/usr/java/jdk1.7.0/bin/unpack200: /lib/libgcc_s.so.1: version `GCC_3.3' not found (required by /usr/java/jdk1.7.0/bin/unpack200)
/usr/java/jdk1.7.0/bin/unpack200: /lib/tls/libc.so.6: version `GLIBC_2.4' not found (required by /usr/java/jdk1.7.0/bin/unpack200)
Error: unpack could not create JAR file:
/usr/java/jdk1.7.0/jre/lib/javaws.jar
Please refer to the Troubleshooting section of the Installation Instructions
on the download page.
deploy.jar...
/usr/java/jdk1.7.0/bin/unpack200: /lib/libgcc_s.so.1: version `GCC_4.2.0' not found (required by /usr/java/jdk1.7.0/bin/unpack200)
/usr/java/jdk1.7.0/bin/unpack200: /lib/libgcc_s.so.1: version `GCC_3.3' not found (required by /usr/java/jdk1.7.0/bin/unpack200)
/usr/java/jdk1.7.0/bin/unpack200: /lib/tls/libc.so.6: version `GLIBC_2.4' not found (required by /usr/java/jdk1.7.0/bin/unpack200)
Error: unpack could not create JAR file:
/usr/java/jdk1.7.0/jre/lib/deploy.jar
Please refer to the Troubleshooting section of the Installation Instructions
on the download page.
这是怎么回事呢??
Preparing... ########################################### [100%]
1:jdk ########################################### [100%]
Unpacking JAR files...
rt.jar...
/usr/java/jdk1.7.0/bin/unpack200: /lib/libgcc_s.so.1: version `GCC_4.2.0' not found (required by /usr/java/jdk1.7.0/bin/unpack200)
/usr/java/jdk1.7.0/bin/unpack200: /lib/libgcc_s.so.1: version `GCC_3.3' not found (required by /usr/java/jdk1.7.0/bin/unpack200)
/usr/java/jdk1.7.0/bin/unpack200: /lib/tls/libc.so.6: version `GLIBC_2.4' not found (required by /usr/java/jdk1.7.0/bin/unpack200)
Error: unpack could not create JAR file:
/usr/java/jdk1.7.0/jre/lib/rt.jar
Please refer to the Troubleshooting section of the Installation Instructions
on the download page.
jsse.jar...
/usr/java/jdk1.7.0/bin/unpack200: /lib/libgcc_s.so.1: version `GCC_4.2.0' not found (required by /usr/java/jdk1.7.0/bin/unpack200)
/usr/java/jdk1.7.0/bin/unpack200: /lib/libgcc_s.so.1: version `GCC_3.3' not found (required by /usr/java/jdk1.7.0/bin/unpack200)
/usr/java/jdk1.7.0/bin/unpack200: /lib/tls/libc.so.6: version `GLIBC_2.4' not found (required by /usr/java/jdk1.7.0/bin/unpack200)
Error: unpack could not create JAR file:
/usr/java/jdk1.7.0/jre/lib/jsse.jar
Please refer to the Troubleshooting section of the Installation Instructions
on the download page.
charsets.jar...
/usr/java/jdk1.7.0/bin/unpack200: /lib/libgcc_s.so.1: version `GCC_4.2.0' not found (required by /usr/java/jdk1.7.0/bin/unpack200)
/usr/java/jdk1.7.0/bin/unpack200: /lib/libgcc_s.so.1: version `GCC_3.3' not found (required by /usr/java/jdk1.7.0/bin/unpack200)
/usr/java/jdk1.7.0/bin/unpack200: /lib/tls/libc.so.6: version `GLIBC_2.4' not found (required by /usr/java/jdk1.7.0/bin/unpack200)
Error: unpack could not create JAR file:
/usr/java/jdk1.7.0/jre/lib/charsets.jar
Please refer to the Troubleshooting section of the Installation Instructions
on the download page.
tools.jar...
/usr/java/jdk1.7.0/bin/unpack200: /lib/libgcc_s.so.1: version `GCC_4.2.0' not found (required by /usr/java/jdk1.7.0/bin/unpack200)
/usr/java/jdk1.7.0/bin/unpack200: /lib/libgcc_s.so.1: version `GCC_3.3' not found (required by /usr/java/jdk1.7.0/bin/unpack200)
/usr/java/jdk1.7.0/bin/unpack200: /lib/tls/libc.so.6: version `GLIBC_2.4' not found (required by /usr/java/jdk1.7.0/bin/unpack200)
Error: unpack could not create JAR file:
/usr/java/jdk1.7.0/lib/tools.jar
Please refer to the Troubleshooting section of the Installation Instructions
on the download page.
localedata.jar...
/usr/java/jdk1.7.0/bin/unpack200: /lib/libgcc_s.so.1: version `GCC_4.2.0' not found (required by /usr/java/jdk1.7.0/bin/unpack200)
/usr/java/jdk1.7.0/bin/unpack200: /lib/libgcc_s.so.1: version `GCC_3.3' not found (required by /usr/java/jdk1.7.0/bin/unpack200)
/usr/java/jdk1.7.0/bin/unpack200: /lib/tls/libc.so.6: version `GLIBC_2.4' not found (required by /usr/java/jdk1.7.0/bin/unpack200)
Error: unpack could not create JAR file:
/usr/java/jdk1.7.0/jre/lib/ext/localedata.jar
Please refer to the Troubleshooting section of the Installation Instructions
on the download page.
plugin.jar...
/usr/java/jdk1.7.0/bin/unpack200: /lib/libgcc_s.so.1: version `GCC_4.2.0' not found (required by /usr/java/jdk1.7.0/bin/unpack200)
/usr/java/jdk1.7.0/bin/unpack200: /lib/libgcc_s.so.1: version `GCC_3.3' not found (required by /usr/java/jdk1.7.0/bin/unpack200)
/usr/java/jdk1.7.0/bin/unpack200: /lib/tls/libc.so.6: version `GLIBC_2.4' not found (required by /usr/java/jdk1.7.0/bin/unpack200)
Error: unpack could not create JAR file:
/usr/java/jdk1.7.0/jre/lib/plugin.jar
Please refer to the Troubleshooting section of the Installation Instructions
on the download page.
javaws.jar...
/usr/java/jdk1.7.0/bin/unpack200: /lib/libgcc_s.so.1: version `GCC_4.2.0' not found (required by /usr/java/jdk1.7.0/bin/unpack200)
/usr/java/jdk1.7.0/bin/unpack200: /lib/libgcc_s.so.1: version `GCC_3.3' not found (required by /usr/java/jdk1.7.0/bin/unpack200)
/usr/java/jdk1.7.0/bin/unpack200: /lib/tls/libc.so.6: version `GLIBC_2.4' not found (required by /usr/java/jdk1.7.0/bin/unpack200)
Error: unpack could not create JAR file:
/usr/java/jdk1.7.0/jre/lib/javaws.jar
Please refer to the Troubleshooting section of the Installation Instructions
on the download page.
deploy.jar...
/usr/java/jdk1.7.0/bin/unpack200: /lib/libgcc_s.so.1: version `GCC_4.2.0' not found (required by /usr/java/jdk1.7.0/bin/unpack200)
/usr/java/jdk1.7.0/bin/unpack200: /lib/libgcc_s.so.1: version `GCC_3.3' not found (required by /usr/java/jdk1.7.0/bin/unpack200)
/usr/java/jdk1.7.0/bin/unpack200: /lib/tls/libc.so.6: version `GLIBC_2.4' not found (required by /usr/java/jdk1.7.0/bin/unpack200)
Error: unpack could not create JAR file:
/usr/java/jdk1.7.0/jre/lib/deploy.jar
Please refer to the Troubleshooting section of the Installation Instructions
on the download page.
这是怎么回事呢??
|
jdk7这么新,装载redhat9上,不出错才怪
|
版本太老。换用新版本的Linux。