how to uninstall the jdk 1.7.0 in the ubuntu

Posted by kaiwii ho on Super User See other posts from Super User or by kaiwii ho
Published on 2012-03-31T02:03:09Z Indexed on 2012/03/31 17:34 UTC
Read the original article Hit count: 216

Filed under:
|
|

i encounter a very strange problem,and here is the detail: i'm going to uninstall the jdk 1.7.0.but when i use the rpm to check the appropriate name of the package,it prompt nothing.Anyway,when i use the command java -version,it will prompt the detail of the jdk 1.7.0. below is the detail:

root@kaiwiiho:/usr/java# rpm -qa|grep jdk
root@kaiwiiho:/usr/java# java -version
java version "1.7.0"
Java(TM) SE Runtime Environment (build 1.7.0-b147)
Java HotSpot(TM) Server VM (build 21.0-b17, mixed mode)
root@kaiwiiho:/usr/java# rpm -qa|grep jdk
root@kaiwiiho:/usr/java# 

so what happen?And how can i uninstall it?thx

© Super User or respective owner

Related posts about java

Related posts about linux