jQuery in Action, 3rd edition
The moose likes Other JSE/JEE APIs and the fly likes JNI UnsatisfiedLinkError Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "JNI UnsatisfiedLinkError" Watch "JNI UnsatisfiedLinkError" New topic

JNI UnsatisfiedLinkError

K Aditi
Ranch Hand

Joined: Mar 17, 2008
Posts: 89
I am getting java.lang.UnsatisfiedLinkError when I am trying to access a function from my dll.I have ensured that the library loads, the function's name is not mangled, have set the PATH variable correctly, the library has no dependencies.
Am I missing something here?

I am using JNI in a servlet deployed on Tomcat 5.0.


Nicholas Jordan
Ranch Hand

Joined: Sep 17, 2006
Posts: 1282
Where did you put the .dll?

"The differential equations that describe dynamic interactions of power generators are similar to that of the gravitational interplay among celestial bodies, which is chaotic in nature."
K Aditi
Ranch Hand

Joined: Mar 17, 2008
Posts: 89
I have put it in System32 folder of Windows.
I agree. Here's the link: http://aspose.com/file-tools
subject: JNI UnsatisfiedLinkError
It's not a secret anymore!