hello every one I want to add External libraries of Asprise OCR in Eclipse IDE with mac os and want to run a program
+1
A:
Select a project > (menu) Project > Properties > Java Build Path > Libraries > Add External JARs
Bozho
2010-03-10 09:29:55
it gives an run time error ....................Exception in thread "main" java.lang.UnsatisfiedLinkError: no AspriseOCR in java.library.path... at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1809).. at java.lang.Runtime.loadLibrary0(Runtime.java:823)... at java.lang.System.loadLibrary(System.java:1045)... at com.asprise.util.ocr.OCR.loadLibrary(OCR.java:247)... at com.asprise.util.ocr.OCR.<init>(OCR.java:56)... at Demo.main(Demo.java:18)...
Hussain
2010-03-10 09:59:17
You need a native library attached to the jar file. Have a VERY good look on the properties panel for the Jar file.
Thorbjørn Ravn Andersen
2010-03-10 10:15:23
I have added aspriseOcr.jar file in java.library.path..after that..it gives an another error like that..Exception in thread "main"..java.lang.UnsatisfiedLinkError:/Library/Java/Extensions/libAspriseOCR.jnilib: no suitable image found..Didfind:/Library/Java/Extensions/libAspriseOCR.jnilib: mach-o, but wrong architecture..at .........
Hussain
2010-03-10 10:17:47
I have given the path of native library ie libAspriseOCR.jnlib
Hussain
2010-03-10 10:19:56