java installation on RH AS 3.0?
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Red Hat support > Red Hat Topics > java installation on RH AS 3.0?




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    java installation on RH AS 3.0?  
dlrubin


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-15-04 04:11 PM

Hi,
I have Redhat AS 3.0, and on this machine, Java is configured strangely:
/usr/bin/javac is a symlink to /etc/alternatives/javac, which is a
symlink to /usr/share/java/libgcj-java-placeholder.sh
And, when I do a Java -version, I get:

libgcj-java-placeholder.sh

This script is a placeholder for the /usr/bin/java and /usr/bin/javac
master links required by jpackage.org conventions.  libgcj's
rmiregistry, rmic and jar tools are now slave symlinks to these
masters, and are managed by the alternatives(8) system.

This change was necessary because the rmiregistry, rmic and jar tools
installed by previous versions of libgcj conflicted with symlinks
installed by jpackage.org JVM packages.

I tried installing the Java rpm, but that didn't solve this. Any
suggestions?







[ Post a follow-up to this message ]



    Re: Java installation on RH AS 3.0?  
Paul Lutus


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-15-04 04:11 PM

dlrubin wrote:

> Hi,
> I have Redhat AS 3.0, and on this machine, Java is configured strangely:
> /usr/bin/javac is a symlink to /etc/alternatives/javac, which is a
> symlink to /usr/share/java/libgcj-java-placeholder.sh
> And, when I do a Java -version, I get:
>
> libgcj-java-placeholder.sh
>
> This script is a placeholder for the /usr/bin/java and /usr/bin/javac
> master links required by jpackage.org conventions.  libgcj's
> rmiregistry, rmic and jar tools are now slave symlinks to these
> masters, and are managed by the alternatives(8) system.
>
> This change was necessary because the rmiregistry, rmic and jar tools
> installed by previous versions of libgcj conflicted with symlinks
> installed by jpackage.org JVM packages.
>
> I tried installing the Java rpm, but that didn't solve this. Any
> suggestions?

Yes, the obvious and classical one of symlinking from /usr/local/bin to the
relevant executables (java, javac, javap), with no intermediate steps.

--
Paul Lutus
http://www.arachnoid.com






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 04:43 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register