Solved

Uninstall Java

Posted on 2011-03-04
3
257 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 500 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
 
LVL 7

Expert Comment

by:techsathish
ID: 35041932
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

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). …
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
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.:
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

820 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