Hi all, I just tried to develop an web based application where in I am trying to use JNI. I am stuck with an error called java.lang.UnsatisfiedLinkError when I try to call the native method implemented in C. I have generated the "dll" and I have placed in the \lib in application folder. I have also set the corresponding path, but i am still facing the error. Kindly help me for the same.
LD_LIBRARY_PATH is used on UNIX, not on Windows. He said "\lib" not "/lib" so the server is on Windows. In this case, the DLL needs to be on the PATH. It's doubtful that the app server \lib is, so either move the DLL or adjust your PATH to include it, then restart the server.