Re: [CentOS] Official Java

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



On 8/6/06, Ted Miller <tmiller@xxxxxxxxxxxxx> wrote:
What is the official method to install Java on Centos?  I searched, but
could find no mention of Java on the Web site.

Currently the "Best" method (very relative term here) is to get the
sun java rpm from java.sun.com and install it. (run the bin, agree to
the license and all that)

This puts java on your system in /usr/java/java-version  which is kind
of a screwed up place, and is not in any user's path by default.  To
resolve this and make things work, you then need to install the
compat-sun-java rpm from jpackage.org for your particular version of
java. This puts it into the alternatives framework which fixes the
path issues, sets it as the default, and makes it work. Hppefully
there will be a better method soon.


--
During times of universal deceit, telling the truth becomes a revolutionary act.
George Orwell
_______________________________________________
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