?
Solved

Uninstall Java

Posted on 2011-03-04
3
Medium Priority
?
266 Views
Last Modified: 2012-05-11
How do I uninstall Java jdk1.6.0_24 on linux
0
Comment
Question by:mnis2008
3 Comments
 
LVL 31

Accepted Solution

by:
farzanj earned 2000 total points
ID: 35040420
Depending upon how it is installed.

If you installed using rpm, you can erase the rpm with the following command

rpm -e jdk

If you installed it from source
you may be able to do

make uninstall, if you kept your make file

What kind of Linux is it?
0
 
LVL 12

Expert Comment

by:upanwar
ID: 35041378
If you have installed through rpm then follow the below given steps.

rpm -qa | grep jdk

it will show you one jdk package which you installed, now execute the below given command with package name you got as output of above command.

rpm -e <package name>

We installed with .bin/self-extracting file also so if you have done that then simply find that directory and delete that directory, In Linux we dont have registry like windows so there is no harm to delete that directory.

0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will giveā€¦
Virtualization software lets you run different versions of Windows, Ubuntu Linux and other versions of Linux all at the same time, rather than running each one directly from your computer's hard drive.
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.:
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

589 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