JNI Problems
Tom Tromey
tromey@redhat.com
Fri May 31 15:10:00 GMT 2002
>>>>> "Frank" == Frank Jacobs <forkjake@yahoo.com> writes:
Frank> AFAIK, JNI under Windows with GCJ is not supported yet. If you
Frank> look at java/lang/natRuntime.cc, the support for loading
Frank> libraries for Windows is turned off.
Frank> Lately, I've been thinking about how hard it would be to
Frank> implement this... My initial (naive) thought is that it
Frank> wouldn't be that hard. The Windows API call LoadLibrary should
Frank> do it for us.
I thought libltdl worked fine on Windows. Is that not the case?
The `!WIN32' code in Runtime::_load has to do not with mangling the
library name on Windows.
Kailas, how did you compile your program?
Did you remember to use `-fjni'? (I assume so.)
Does your program try to load the library containing the JNI code?
Tom
More information about the Java
mailing list