Solved

Linux, How do I uninstall Java

Posted on 2013-12-04
2
227 Views
Last Modified: 2013-12-04
How do I uninstall java on RHEL 6.4
0
Comment
Question by:Los Angeles1
2 Comments
 
LVL 21

Expert Comment

by:Mazdajai
ID: 39695683
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
 
LVL 19

Accepted Solution

by:
xterm earned 500 total points
ID: 39695857
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

Featured Post

Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

Join & Write a Comment

Currently, there is not an RPM package available under the RHEL/Fedora/CentOS distributions that gives you a quick and easy way to allow PHP to interface with Oracle. As a result, I have included a set of instructions on how to do this with minimal …
I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now