This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: JNI Problems


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]