DLL function not seen by Java JNI
Reed, Mike
MikeRe@cmi-asi.com
Wed Mar 1 07:47:00 GMT 2000
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
More information about the Cygwin
mailing list