Computer Forums

Computer Forums (http://www.geekboards.com/forums/index.php)
-   Building Websites (http://www.geekboards.com/forums/forumdisplay.php?f=3)
-   -   How to uninstall existing JAVA compiler in CentOS5? (http://www.geekboards.com/forums/showthread.php?t=805)

raid2005 07-12-2007 08:19 PM

How to uninstall existing JAVA compiler in CentOS5?
 
How to uninstall existing JAVA compiler in CentOS5?
The existing package version is 1.4 need to update it to 1.6

John 07-13-2007 01:48 AM

Did you manually install / compile it or use YUM?

raid2005 07-13-2007 09:26 AM

actually, i haven't update it yet nor install manually(1.4 java), i want to remove the 1.4 wherein it was freshly installed along with the packages (CentOS 5).

I thought that the java compiler was already been updated to 1.5 since the version of CentOS is newly released.

John 07-15-2007 01:46 AM

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.


All times are GMT -5. The time now is 06:11 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
HTML Help provided by HTML Help Central.