wood burning stoves*
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "JNI UnsatisfiedLinkError" Watch "JNI UnsatisfiedLinkError" New topic
Author

JNI UnsatisfiedLinkError

K Aditi
Ranch Hand

Joined: Mar 17, 2008
Posts: 89
Hey,
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.

Thanks,


Aditi
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
 
Similar Threads
get the device letter of usb as soon as it connected to the computer
Getting a handle to a running application.
native method
Awkward question regarding JNI
runtime.exec()