Solved

Linux, How do I uninstall Java

Posted on 2013-12-04
2
242 Views
Last Modified: 2013-12-04
How do I uninstall java on RHEL 6.4
0
Comment
Question by:Los Angeles1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
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.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses

617 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