|
Home > Archive > Red Hat Topics > September 2004 > java installation on RH AS 3.0?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
java installation on RH AS 3.0?
|
|
| dlrubin 2004-09-15, 11:11 am |
| 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?
| |
| Paul Lutus 2004-09-15, 11:11 am |
| 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
|
|
|
|
|