Results 1 to 3 of 3
I have a CentOS 5 - 64 Bit Dedicated Server that has Java 1.5.0_22 ( java -version) automatically installed on it somehow, because I never installed it so I am ...
- 03-20-2011 #1Just Joined!
- Join Date
- Mar 2011
- Posts
- 1
CentOS 5 -64Bit Experts Needed !!!
I have a CentOS 5 - 64 Bit Dedicated Server that has Java 1.5.0_22 ( java -version) automatically installed on it somehow, because I never installed it so I am assuming it was automatically installed.
I have been for 1 week now trying to uninstall the Java 1.5.0_22 and installing Java 1.6.0_24, but I just can't seem to figure it out!
Can someone please help me out before I lose my mind, with step by step instructions or something?
I would highly appreciate it, thank you!
- 03-20-2011 #2Just Joined!
- Join Date
- Apr 2007
- Posts
- 2
Please post the output of
Code:# rpm -qa *java* # yum info *java*
- 03-20-2011 #3Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
You can keep it (1.5.0) on your system and install java 1.6.0 without problems. It's usually a good idea to leave the older version(s) on the system in case some tool that uses it and expects that version tries to run - it will find what it needs. Look in /usr/java - you will find two soft links, default and latest. The default link generally points to /usr/java/latest, and latest points to the most current version. When you install the new version of Java from Oracle, it will update the default link. The java stuff in /usr/bin all points to their entries in /usr/java/default, so your default java runtime, compiler, and other tools will all get the new one. Clear?
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!


Reply With Quote