[CentOS] Re: Java installation problem. -- Sun Java? Or GNU GCJ?
Bryan J. Smith
b.j.smith at ieee.orgSat Aug 6 22:31:57 UTC 2005
- Previous message: [CentOS] Java installation problem.
- Next message: [CentOS] Java installation problem.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 at ieee.org     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
  - Previous message: [CentOS] Java installation problem.
- Next message: [CentOS] Java installation problem.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list