Hello again,
thanks a lot for the point. I've searched across the mailing list and
seen some questions regarding Webstart and signing jars,
so I'll check it out; and it's my fault so sorry for not looking
broader, I was stuck on the idea that it should be the same calling
from a servlet
than from a console app.
I'll check it out, thank you very much.
xavier
I successfully use a third-party DLL from a console Java application
- thanks to some indications you gave me some time ago in this
mailing list -; but it's being impossible to make it work on a web
application.
That could mean an applet or web start. Both would have to be signed
in order for JNA to access its native library bits.
I'm setting both the 'java.library.path' and 'jna.library.path' as
parameters for the VM to point to the location of the DLLs. But I
get no results for the same inputs as the console application, and I
get no error complaining about the loading process of the DLLs.
JNA will throw an UnsatisfiedLinkError if it can't find its own native
libraries, and Native.loadLibrary will throw UnsatisfiedLinkError if
it can't find your 3rd-party lib under jna.library.path.