hi folks,
I am currently using my JNI so/dll library under solaris, linux and cygwin.
with solaris and linux, no problem, I bind to it using load(..) since the
LD_LIBRARY_PATH is set.
BUT, under cygwin/windows, it does not work and I shall tell the absolute
path when I load the library.
I hav
Ronald,
At 04:10 2003-02-27, Ronald Landheer-Cieslak wrote:
On Thu, 27 Feb 2003, gilles bourgeois wrote:
hi folks,
I am currently using my JNI so/dll library under solaris, linux and cygwin.
with solaris and linux, no problem, I bind to it using load(..) since the
LD_LIBRARY_PATH is set.
Gilles - The following should work for you under Cygwin:
HelloWorld.c:
-
#include iostream
using namespace std;
#include HelloWorld_jni.h
JNIEXPORT void JNICALL
Java_HelloWorld_sayHello( JNIEnv *env, jclass c )
{
cerr Hello
Alan,
Thanks for that.
Actually, I had an ulterior motive in directing Gilles here--I'm just
about to embark on my first attempt at JNI programming and I need to
evaluate the suitability of using Cygwin and / or MinGW for producing
JNI libraries to use with the Sun JVM and any pointers I can
4 matches
Mail list logo