This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


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

DLL function not seen by Java JNI


Native method displayHelloWorld() is not seen by Java  linker.

Created HelloWorldImp.dll, (C  in bash shell) documented in Cygwin User's
Guide: 
Building DLLs.  Successfully called procedure displayHelloWorld() in 
HelloWorldImp.dll.

Following output generated from "java -verbose:jni"  running in bash shell
gives
error:

[Dynamic-linking native method java/util/zip/ZipFile.open  ... JNI]
-OK-
.
.
.
[Loaded native library I:\B\test\jni1\HelloWorldImp.dll]
-OK-
[Dynamic-linking native method B/test/jni1/HelloWorldImp.displayHelloWorld
... 
not found]
-ERROR-

I have verified that the "package" statements in Java source code are
correct.

Mike

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


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