[root@localhost ~]# rpm -qa|grep jdkjava
java-1.6.0-openjdk-1.6.0.0-1.50.1.11.5.el6_3.x86_64.net
java-1.7.0-openjdk-1.7.0.9-2.3.4.1.el6_3.x86_64rem
[root@localhost ~]# rpm -qa|grep gcjget
java-1.4.2-gcj-compat-1.4.2.0-40jpp.115 jdk
libgcj-4.1.2-48.el5 grep
[root@localhost ~]# yum -y remove java java-1.6.0-openjdk-1.6.0.0-1.50.1.11.5.el6_3.x86_64gc
[root@localhost ~]# yum -y remove java java-1.7.0-openjdk-1.7.0.9-2.3.4.1.el6_3.x86_64yum
[root@localhost ~]# yum -y remove java java-1.4.2-gcj-compat-1.4.2.0-40jpp.115 co
[root@localhost ~]# yum -y remove libgcj-4.1.2-48.el5tar