LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-04-2008, 01:22 AM   #1
Cynthia_Samuel
LQ Newbie
 
Registered: Mar 2008
Posts: 3

Rep: Reputation: 0
Trouble uninstalling jdk


Hello Evryone

I am having trouble uninstalling jdk-1_5_0_14-i586.rpm .
When i tried 'rpm -e jdk______.rpm',i got the below error message.

error package jdk-1_5_0_14-i586.rpm is not installed

And wen i tried , 'rpm -qa | grep -i java', i got

cairo-java-1.0.5-3.fc6
glib-java-0.2.6-3.fc6
libglade-java-2.12.5-3.fc6
libgconf-java-2.12.4-5.fc6
libvte-java-0.12.1-5.fc6
java-1.4.2-gcj-compat-1.4.2.0-40jpp.110
libgnome-java-2.12.4-3.fc6
libgtk-java-2.8.7-2.fc6



But wen i am trying to install jdk-1_5_0_14-i586.rpm( on the assumption that its not installed)i get the message that

package jdk-1.5.0_14-fcs is already installed


Plzzz help me.I hope the info given is enough.
 
Old 03-04-2008, 06:11 AM   #2
hansalfredche
Member
 
Registered: Jun 2005
Posts: 445

Rep: Reputation: 31
Well, you could try using the rpm GUI and search for JDK.
 
Old 03-04-2008, 01:37 PM   #3
j-ray
Senior Member
 
Registered: Jan 2002
Location: germany
Distribution: ubuntu
Posts: 1,532

Rep: Reputation: 132Reputation: 132
you can check whether java is installed by
'javac -version'
 
Old 03-04-2008, 02:12 PM   #4
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
Anything if you try rpm -qi jdk?
 
Old 03-05-2008, 03:27 AM   #5
Cynthia_Samuel
LQ Newbie
 
Registered: Mar 2008
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks

Quote:
Originally Posted by j-ray View Post
you can check whether java is installed by
'javac -version'
Actually 'javac -version' didnt work for me,i tried java
-version
and it showed the version installed.
 
Old 03-05-2008, 03:34 AM   #6
Cynthia_Samuel
LQ Newbie
 
Registered: Mar 2008
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks

rpm -qi jdk

It gave the detailed info of the version installed which i uninstalled and installed again and after which i could compile my test cases properly.
 
  


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
trouble uninstalling kgames dr_zayus69 Linux - Software 3 12-17-2004 05:22 PM
Nvidia driver trouble after uninstalling/reinstalling BradDaBug Debian 1 10-23-2004 01:38 PM
how to use Jdk 1.3.1 in RH 9 Egyptian_Isis Linux - Newbie 1 11-06-2003 05:15 AM
i'm having trouble installin/uninstalling Bastille-2.0.1.1i'm running redhat 7.2 on rioguia Linux - Software 6 09-04-2002 12:13 PM
Trouble uninstalling packages bsnuggs Linux - General 7 12-31-2001 10:49 AM


All times are GMT -5. The time now is 08:28 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration