![]() |
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 |
Did you manually install / compile it or use YUM?
|
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. |
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:20 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
HTML Help provided by HTML Help Central.