Re: [CentOS] Official Java

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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

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@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux