Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Uninstall Java

Posted on 2011-03-04
3
Medium Priority
?
262 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

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Question has a verified solution.

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

Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Fine Tune your automatic Updates for Ubuntu / Debian
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.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month11 days, 23 hours left to enroll

916 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