Subject: DLL function not seen by Java JNI
From: "Reed, Mike" <[email-masked]>
To: "[email-masked]'" <[email-masked]>
Cc: "Reed, Mike" <[email-masked]>
Date: Wed, 1 Mar 2000 10:42:54 -0500

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 [email-masked]