View Single Post
  #4  
Old 07-15-2007, 01:46 AM
John John is offline
Administrator
GB Admin
GB GEEK
 
Join Date: Jun 2006
Location: NJ
Posts: 255
Default

A few years ago I remember reading something about Red Hat updating packages, but not updating the corresponding version numbers. You may want to check somehow to verify whether the java on your system has actually been updated to the newest version.

To remove the current RPM package, you would use:

rpm -e packagename

So that might be something like "rpm -e SunJava" (I don't know how it is titled in the RPM database for CentOS 5).

You can search the RPM database using "rpm -qa | grep searchtext" and that will return results that contain whatever searchtext you used in that command. Maybe try "rpm -qa | grep java" or "rpm -qa | grep Java" or maybe "rpm -qa | grep Sun" It will probably be one of those, then you will know what the java package is named so that you can delete it.
__________________
John Hammell
Network Administrator
Computer Geeks
Reply With Quote