0
votes

i am using native lib form OCR and add the jar and put dll in progfile\common files inspite of that i am getting below error Please help me ....

Thanks in Advance

java.lang.UnsatisfiedLinkError: C:\Program Files\Common Files: Can't find dependent libraries at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1647) at java.lang.Runtime.load0(Runtime.java:770) at java.lang.System.load(System.java:1005) at com.asprise.util.ocr.OCR.loadLibrary(OCR.java:239) at com.asprise.util.ocr.OCR.(OCR.java:56) at com.readimage.ReadIMG.main(ReadIMG.java:91) Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\Program Files\Common Files\AspriseOCR.dll: Can't find dependent libraries at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1676) at java.lang.Runtime.loadLibrary0(Runtime.java:823) at java.lang.System.loadLibrary(System.java:1030) at com.asprise.util.ocr.OCR.loadLibrary(OCR.java:247) at com.asprise.util.ocr.OCR.(OCR.java:56) at com.readimage.ReadIMG.main(ReadIMG.java:91)

1
Seems that other (dependent) libraries are required.mauretto

1 Answers

-1
votes

Looks like the AspriseOCR.dll file is not in the good path. Try to put it in the windows/system directory where all dll files are stored.