Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 06-25-2003, 07:33 AM   #1
LQ Newbie
Registered: Jun 2003
Posts: 3

Rep: Reputation: 0
cannot uninstall java

I am new to Linux. In my machine (RH 9 Shrike) I installed j2sdk with the following steps.
J2sdk was a bin file.
I ran the bin from gnome-terminal.
Then an rpm was generated.
From the rpm (using rpm -ivh) I installed java
I got a message done from rpm.

But the problem is I couldn’t find the java-installed directory.

So I tried installing it again, but I got the message "package already installed"

So I tried to uninstall it (using rpm -e) the command hangs.
Pls help me to solve the problem
Also may I know is there any way to remove the installation info (as we do in windows by deleting HKLM/Software/Microsoft/windows/currentVersion/UnInstall)
Binu Jose
Old 06-25-2003, 07:36 AM   #2
Senior Member
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127

Rep: Reputation: 49
do this as root:

rm -rf /var/lib/rpm/__*
rpm -vv --rebuilddb

then rerun your rpm -e command.

Old 06-25-2003, 11:30 AM   #3
Registered: Dec 2002
Location: San Luis Obispo, CA
Distribution: Fedora Core 3
Posts: 618

Rep: Reputation: 30
Or you could find where the rpm put the thing with

locate java
or find javac
Old 06-25-2003, 11:36 AM   #4
Registered: Jun 2003
Location: Springfield, MO
Distribution: RedHat/Slackware
Posts: 81

Rep: Reputation: 15
to unintall java do a rpm -e java, but i think it is installed under /usr/java if im not mistaken


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need to uninstall SuSe 8.1 & there is no uninstall jwhibdon Linux - Software 10 10-26-2006 11:57 AM
uninstall from src if no make uninstall dtra Linux - Software 3 04-29-2005 09:13 AM
uninstall java 1.4 for DB2 8.1 install greatwhite99 Linux - Newbie 17 09-21-2004 12:19 PM
Source uninstall with 'make uninstall' HOWTO! Creeps Linux - Newbie 6 09-14-2004 11:03 AM
java uninstall twcinpa Linux - General 9 12-19-2003 02:20 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:14 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration