This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
DLL function not seen by Java JNI
- To: "'cygwin at sourceware dot cygnus dot com'" <cygwin at sourceware dot cygnus dot com>
- Subject: DLL function not seen by Java JNI
- From: "Reed, Mike" <MikeRe at cmi-asi dot com>
- Date: Wed, 1 Mar 2000 10:42:54 -0500
- Cc: "Reed, Mike" <MikeRe at cmi-asi dot com>
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