LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 06-30-2007, 06:07 AM   #1
rohinik23
LQ Newbie
 
Registered: Jun 2007
Posts: 2

Rep: Reputation: 0
Question 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....
 
Old 06-30-2007, 07:23 AM   #2
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
To find if an rpm is installed, you do
Code:
$rpm -qa | grep -i nameOfPackage
e.g.
Code:
$rpm -qa | grep -i jdk
If there are no results, then its not installed but if you get output like
Code:
jdk-1.6.0_01-fcs
then uninstall the package by doing
Code:
#rpm -e jdk-1.6.0_01-fcs
 
Old 07-01-2007, 09:12 AM   #3
rohinik23
LQ Newbie
 
Registered: Jun 2007
Posts: 2

Original Poster
Rep: Reputation: 0
thank you reddazz.........
i could solve the problem and installed jre and jdk6.
thanks a lot.
 
Old 07-01-2007, 10:37 AM   #4
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
By the way, welcome to LQ.
 
  


Reply


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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
unable to uninstall java gaaln Mandriva 4 10-24-2006 05:01 AM
Unable to uninstall and reinstall RPM jarkvarma Linux - Newbie 3 02-17-2005 06:42 PM
java uninstall twcinpa Linux - General 9 12-19-2003 02:20 PM
cannot uninstall java bnujos Linux - General 3 06-25-2003 11:36 AM
Unable to uninstall proftpd Rodcl Linux - Software 1 08-31-2002 03:20 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration