We need a configure option to set java.library.path. Right now libgcjawt.so in installed in ${prefix}/lib.
In FC4 we use java-gcj-compat to create a libjawt.so symlink in /usr/lib/jvm/jre/lib/i386 (via alternatives). Programs running System.loadLibrary("jawt") should find this without users having to set LD_LIBRARY_PATH or -Djava.library.path. One answer is to let packagers set the default java.library.path at configure time. -- Summary: Need configure option to set java.library.path Product: gcc Version: 4.0.1 Status: UNCONFIRMED Severity: normal Priority: P2 Component: libgcj AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: green at redhat dot com CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu dot org GCC host triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21741