LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   cannot uninstall java (https://www.linuxquestions.org/questions/linux-general-1/cannot-uninstall-java-67933/)

bnujos 06-25-2003 07:33 AM

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

born4linux 06-25-2003 07:36 AM

do this as root:

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

then rerun your rpm -e command.

hth.

rmartine 06-25-2003 11:30 AM

Or you could find where the rpm put the thing with

locate java
or find javac

emence 06-25-2003 11:36 AM

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


All times are GMT -5. The time now is 04:11 AM.