Re: Java installation problem. -- Sun Java? Or GNU GCJ?

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



On Sat, 2005-08-06 at 19:15 +0000, duffmckagan wrote:
> It is installed in /usr/java 

Be _careful_ on that.
Red Hat ships a GNU Java run-time.

E.g.,

  ls -la /usr/bin/java
  ... /usr/bin/java -> /etc/alternatives/java

  ls -la /etc/alternatives/java
  ... /etc/alternatives/java -> /usr/lib/jvm/jre-1.4.2-gcj/bin/java
                                                       ^^^

You should use the alternatives framework to change it to Sun's Java.
I have never gotten this to work correctly myself, so I just change
the symlink manually (not ideal).


-- 
Bryan J. Smith     b.j.smith@xxxxxxxx     http://thebs413.blogspot.com
----------------------------------------------------------------------
The best things in life are NOT free - which is why life is easiest if
you save all the bills until you can share them with the perfect woman


[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