Does gcj support java program containing native c function?

Tom Tromey tromey@cygnus.com
Mon Oct 23 09:31:00 GMT 2000


>>>>> ">" == Liu, Guangsheng <Guangsheng.Liu@Dialogic.com> writes:

>> java.lang.UnknownError: Runtime.loadLibrary not implemented
>>   By the way, I am using Red Hat 6.2, Java JDK1.2.2, libgcj 2.95.1. 
>>   Any idea or suggestion will be highly appreciated.
  
JNI wasn't implemented when libgcj 2.95.1 was released.
However, it has been implemented since then.
If you try a newer gcj+libgcj, your example ought to work.

Tom


More information about the Java mailing list