java -version
rpm -qa | grep java
rpm -e --nodeps tzdata-java-.... rpm -e --nodeps java-1.7.0-openjdk-headless-.... rpm -e --nodeps java-1.7.0-openjdk-...
http://www.cnblogs.com/SimonGao/p/4901077.html