Why don't you use the JNA API http://www.java2s.com/Code/Jar/j/Downloadjna351jar.htm to download your own library? After you put in your project path, you add this code
NativeLibrary.addSearchPath("libtesseract302", "your native lib path"); make sure you have this libtesseract302.dll file, usually it is located in the windows32 folder.
For example, if your libtesseract302.dll file is somewhere in c:/abcv/aaa/libtesseract302.dll , then you simply set the path as follows NativeLibrary.addSearchPath("libtesseract302", "c:/abcv/aaa");
I do not know what the path to the window c:/abcv/aaa or c:\\abcv\\aaa\\ looks like
if you need an easier way, just put all the necessary DLL file in the Windows32 folder, the JVM will take care of that.
Another problem may be that you did not install the application correctly or the application version was not removed with your jar version. try installing the latest application and download the latest jar to try again. Hope this helps :)
taymedee
source share