[CentOS] Official Java

Robert Moskowitz rgm at htt-consult.com
Mon Aug 7 19:25:54 UTC 2006


Alfred von Campe wrote:
> On Aug 6, 2006, at 8:13, Ted Miller wrote:
>
>> What is the official method to install Java on Centos? I searched, but
>> could find no mention of Java on the Web site.
>
> Like others already mentioned, there is no "official" way, and like 
> others, I like to install the Sun JRE. I then run the following 
> "alternatives" commands to make it the default version (this assumes 
> you are using version 1.5.0_07 of the JRE):
>
> # alternatives --install /usr/bin/java java 
> /usr/java/jre1.5.0_07/bin/java 10 \
> --slave /usr/bin/rmiregistry rmiregistry 
> /usr/java/jre1.5.0_07/bin/rmiregistry \
> --slave /usr/lib/jvm/jre jre /usr/java/jre1.5.0_07
> # alternatives --set java /usr/java/jre1.5.0_07/bin/java
Where can I find some information on this 'alternatives' commands to 
understand what you did here.

My system is quite messed up right now with jre between jpackage and Sun 
stuff. Freemind is working, but Java in Firebird is broken.
>
> I currently have a dozen or so developer systems deployed using CentOS 
> 4.3 and the aforementioned Sun JRE 1.5.0_07.
>
> Alfred
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



More information about the CentOS mailing list