LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices


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

Rep: Reputation: 0
cannot uninstall java


hi,
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)
Thanks
Binu Jose
 
Old 06-25-2003, 07:36 AM   #2
born4linux
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.

hth.
 
Old 06-25-2003, 11:30 AM   #3
rmartine
Member
 
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
emence
Member
 
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
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:24 PM.

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