[Bug java/12940] GCJ 3.3.1 on Windows 2002 - java.lang.System.loadLibrary("JniLayer"); does not work at runtime.

green at redhat dot com gcc-bugzilla@gcc.gnu.org
Fri Nov 7 15:10:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12940



------- Additional Comments From green at redhat dot com  2003-11-07 15:10 -------
I don't believe System.loadLibrary() works with static Windows executables.  Try
linking your JNI library to the executable directly instead of using
System.loadLibrary().

AG



More information about the Gcc-bugs mailing list