I am using eclipse and getting the below error when I try to access a native method from a ExtractImage.dll
file-
java.lang.UnsatisfiedLinkError: getVertices
at com.coimp.application.ExtractImage.getVertices(Native Method)
I have added the dll to below paths -
C:\Program Files\Java\jre1.5.0_10\bin;
. //current workspace
C:\WINDOWS\system32;
C:\WINDOWS;
and I have used this method to load the library -
System.loadLibrary("ExtractImage");
Also tried with -
System.load("c:\ExtractImage.dll");
Adding the .dll file to NativeLibrary path
The same code works on my web application.
Geeks, any guesses to fix this problem ? Thanks for upcoming support.