Downgrade jdk after rpm install linux 6

rpm -qa | grep jdk

Find your package

rpm -e jdk-1.7.0_05-fcs.x86_64

 

rpm -qa | grep jdk

 

reinstall jdk

jdk-6u33-linux-x64-rpm.bin

 

lrwxrwxrwx. 1 root root   21 Aug  6 11:39 latest -> /usr/java/jdk1.6.0_33
[root@oraappman java]# java -version
java version "1.6.0_33"
Java(TM) SE Runtime Environment (build 1.6.0_33-b04)
Java HotSpot(TM) 64-Bit Server VM (build 20.8-b03, mixed mode)