unable to uninstall java
Dear all,
I installed jdk using the jdk-6u1-linux-i586-rpm.bin binary by using sh jdk-6u1-linux-i586-rpm.bin. It installed java in /usr/java. It also created a jdk-6u1-linux-i586.rpm. Remembering that JRE should be installed first i removed the existing java installation by rm -rf /usr/java, which should not be done. Now when i install java it gives the following message: Unpacking... Checksumming... Extracting... UnZipSFX 5.50 of 17 February 2002, by Info-ZIP (Zip-Bugs@lists.wku.edu). inflating: jdk-6u1-linux-i586.rpm Preparing... ########################################### [100%] package jdk-1.6.0_01-fcs is already installed Done. Iam unable to find the package using the command : locate jdk-1.6.0_01-fcs. Pls help me in uninstalling the rpm.bin files. Any help is greatly appreciated. thanks.... |
To find if an rpm is installed, you do
Code:
$rpm -qa | grep -i nameOfPackage Code:
$rpm -qa | grep -i jdk Code:
jdk-1.6.0_01-fcs Code:
#rpm -e jdk-1.6.0_01-fcs |
thank you reddazz.........
i could solve the problem and installed jre and jdk6. thanks a lot. |
By the way, welcome to LQ. ;)
|
All times are GMT -5. The time now is 11:37 PM. |