I don't know anything about doing this under Windows, but if you could
do your experiment under Linux, then you could use the "simple" bundle,
since it demonstrates a Linux native library.
-> richard
Arnaud Quiblier wrote:
Hi BJ,
On 8/16/06, BJ Hargrave <[EMAIL PROTECTED]> wrote:
Does your dll depend upon some other dll which cannot be found/loaded
when
you are running felix?
That's exactly what I was thinking about ...
First, I try to launch Felix out from Eclipse. Indeed, my jni test was
not
done in Eclipse. But it fails.
So, I think that's the dependency problem is generated at compil time.
I run under WinXP.
My jni project is managed via ant.
C compilation is done via the 'exec' ant task.
This call cygwin with a build.sh file as argument.
I compil the C code with gcc as follow:
$ gcc -mno-cygwin -I$JDK/include -I$JDK/include/win32
-Wl,--add-stdcall-alias -shared -o HelloWorldNative.dll
HelloWorldNative.c
The question are :
- should includes from jvm and winows be considered as dependencies ?
- must I send my jni project and / or my jni bundle ?
- does someone has a bundle with native for win32 ?
Regards,