#rpm -qa|grep jdkjava
顯示:jdk-1.6.0_10-fcsnode
卸載:#rpm -e --nodeps jdk-1.6.0_10-fcslinux
[root@getlnx06 ~]# rpm -qa | grep gcjbash
libgcj-4.1.2-51.el5spa
java-1.4.2-gcj-compat-1.4.2.0-40jpp.115.net
libgcj-4.1.2-51.el5orm
卸載自帶的JDK的信息get
[root@localhost /]# rpm -e --nodeps java-1.4.2-gcj-compat-1.4.2.0-40jpp.115it
[root@secondarynamenode 桌面]# /usr/java/jdk1.7.0_67/bin/javacio
bash: /usr/java/jdk1.7.0_67/bin/javac: /lib/ld-linux.so.2: bad ELF interpreter: 沒有那個文件或目錄
[root@secondarynamenode 桌面]# java -version
bash: /usr/java/jdk1.7.0_67/bin/java: /lib/ld-linux.so.2: bad ELF interpreter: 沒有那個文件或目錄
安裝ld-linux.so.2
#yum install ld-linux.so.2