delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/03/01/10:50:36

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <048908329505D311A9D900A0C995DFA1AABD9C@cmi-asi-pdc.int.cmi-asi.com>
From: "Reed, Mike" <MikeRe AT cmi-asi DOT com>
To: "'cygwin AT sourceware DOT cygnus DOT com'" <cygwin AT sourceware DOT cygnus DOT com>
Cc: "Reed, Mike" <MikeRe AT cmi-asi DOT com>
Subject: DLL function not seen by Java JNI
Date: Wed, 1 Mar 2000 10:42:54 -0500
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2448.0)

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 AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019