getting an error Exception in thread "main" java.lang.UnsatisfiedLinkError: /Users/hu
hii every one
I m using Eclipse IDE with MAC os x
i m trying to extract data from image
here i m using ASPRISE OCR LIBRARIES FOR THAT PURPOSE
when i compile that program with eclipse as well as with terminal
it compile well but when i tyring to run this it gives an error in eclipse like
Quote:
EException in thread "main" java.lang.UnsatisfiedLinkError: /Users/hussainalisyed/Downloads/Asprise-OCR-Java-MacOSX_Intel-4.0/libAspriseOCR.jnilib: no suitable image found. Did find: /Users/hussainalisyed/Downloads/Asprise-OCR-Java-MacOSX_Intel-4.0/libAspriseOCR.jnilib: mach-o, but wrong architecture
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.jav a:1878)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java :1758)
at java.lang.Runtime.load0(Runtime.java:770)
at java.lang.System.load(System.java:1020)
at Demo.main(Demo.java:13)
In terminal it gives an error like that
Quote:
Exception in thread "main" java.lang.NoClassDefFoundError: Demo
Caused by: java.lang.ClassNotFoundException: Demo
at java.net.URLClassLoader$1.run(URLClassLoader.java: 200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 19)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:330)
at java.lang.ClassLoader.loadClass(ClassLoader.java:2 54)
at java.lang.ClassLoader.loadClassInternal(ClassLoade r.java:399)
can any body
tell me in detail plz
because i m new with eclipse as well as mac os x