Linux, How do I uninstall Java

How do I uninstall java on RHEL 6.4
Los Angeles1Asked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
xtermConnect With a Mentor Commented:
Here's how you find what you have, and then erase it:

[root@host ~]# rpm -qa | grep ^java
java-1.6.0-openjdk-1.6.0.0-1.61.1.11.11.el6_4.x86_64

[root@host ~]# rpm -e java-1.6.0-openjdk
[root@host ~]#

Open in new window

0
 
MazdajaiCommented:
Did you install it with yum? If so, it is yum remove java-<version>.

If you are not sure the version you can do yum remove java*.
0
All Courses

From novice to tech pro — start learning today.