java on RH AS 3.0?

Ryan Golhar golharam at umdnj.edu
Wed Sep 8 15:02:59 UTC 2004


How do you uninstall the libgcj package?  I tried doing that initially
but found libgcj is required by other RPMs which in turn are required by
others as well...



-----Original Message-----
From: Bob Smith [mailto:bob at netprt.com] 
Sent: Wednesday, September 08, 2004 10:46 AM
To: golharam at umdnj.edu; General Red Hat Linux discussion list
Cc: 'General Red Hat Linux discussion list'
Subject: RE: java on RH AS 3.0?


The two best options are to either de-install the stock package and
install the Sun RPM, or install the Sun binaries and create the symbolic
links. My personal preference is to deinstall the previous package
entirely to avoid any clashes between incompatible Java instances.

In general, a Java developer or major user will use the following Java
components:

jar -> /usr/java/j2sdk1.4.2_04/bin/jar
java -> /usr/java/j2sdk1.4.2_04/bin/java
javac -> /usr/java/j2sdk1.4.2_04/bin/javac
javadoc -> /usr/java/j2sdk1.4.2_04/bin/javadoc
javah -> /usr/java/j2sdk1.4.2_04/bin/javah
javap -> /usr/java/j2sdk1.4.2_04/bin/javap
jdb -> /usr/java/j2sdk1.4.2_04/bin/jdb
keytool -> /usr/java/j2sdk1.4.2_04/bin/keytool

You'll see that this isn't the standard setup, but it does work well in
"production environments."

-Bob


> I ran into the same problem not too long ago.  I ended up deleteing 
> the symlink /usr/bin/java, /usr/bin/javac, and /usr/bin/jar.
>
> I have Sun's JDK installed in /usr/java/...
>
> Just be careful about this cause I noticed when libgcj was updated is 
> put the links back in place.  I have to find a more permanent 
> solution...
>
>
> Ryan
>
>
> -----Original Message-----
> From: redhat-list-bounces at redhat.com 
> [mailto:redhat-list-bounces at redhat.com] On Behalf Of Daniel Rubin
> Sent: Tuesday, September 07, 2004 10:10 PM
> To: redhat-list at redhat.com
> Subject: java on RH AS 3.0?
>
>
> Hi,
> I have Redhat AS 3.0, and on this machine, java doesn't appear to be 
> installed properly: /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?
>
>
>
>
> ---------------------------------
> Do you Yahoo!?
> Win 1 of 4,000 free domain names from Yahoo! Enter now.
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>





More information about the redhat-list mailing list