[AGENT++] cant run java apps with new libgcj

Dave Mason dmason at transat-tech.com
Mon Aug 9 23:47:44 CEST 2004


Hi,
I looked through the archive and didnt see this asked before, so here 
goes.  I just downloaded the new gcc package, including gcj, and now my 
"java" jvm is broken.  This gives me an error when I run agenpro or 
mibexplorer.  If nobody here has seen this, I'll follow up with the gcc 
people.  I'm on Red Hat Enterprise Linux v 3.

Here's the gcc -v:
$ gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.3/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man 
--infodir=/usr/share/info --enable-shared --enable-threads=posix 
--disable-checking --with-system-zlib --enable-__cxa_atexit 
--host=i386-redhat-linux
Thread model: posix
gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-39)

This is the message I get:
$ java
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.

$ ls -l /usr/bin/java
lrwxrwxrwx    1 root     root           22 Aug  6 15:09 /usr/bin/java -> 
/etc/alternatives/java*

Thanks,
Dave



More information about the AGENTPP mailing list