Solved

Linux, How do I uninstall Java

Posted on 2013-12-04
2
231 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Backup & Restore 3 54
is my large folder zipped corrupted 4 65
Linux Desktop suggestion for Dell Inspiron 3043 13 34
how to configure linux OS using Ubuntu 7 39
rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
Fine Tune your automatic Updates for Ubuntu / Debian
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.

776 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