Uninstall Java

How do I uninstall Java jdk1.6.0_24 on linux
mnis2008Asked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
farzanjConnect With a Mentor Commented:
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
 
upanwarCommented:
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
All Courses

From novice to tech pro — start learning today.