JVM 64-bit cannot load Tesseract and Leptonica 32-bit DLLs. You would need 
JVM 32-bit.

On Friday, January 18, 2013 8:11:56 AM UTC-6, Deniz Atak wrote:
>
> Hi,
>
> I am trying to run Tess4J in 64 JVM from Netbeans IDE and getting this 
> error:
> Testcase: testTessBaseAPIRect(net.sourceforge.tess4j.TessAPI1Test):    
> Caused an ERROR
> Unable to load library 'libtesseract302': The specified module could not 
> be found.
>
> java.lang.UnsatisfiedLinkError: Unable to load library 'libtesseract302': 
> The specified module could not be found.
>
>     at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:169)
>     at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:242)
>     at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:205)
>     at com.sun.jna.Native.register(Native.java:1033)
>     at net.sourceforge.tess4j.TessAPI1.<clinit>(TessAPI1.java:37)
>     at 
> net.sourceforge.tess4j.TessAPI1Test.testTessBaseAPIRect(TessAPI1Test.java:72)
>
>
> As far as I searched, I think this error message is because of the JVM. 
> But I am not sure. The .dll file is in the project folder, but it seems JVM 
> can not find it..Can anyone recommend a link to run Tess4J test from 
> scratch? 
>

-- 
You received this message because you are subscribed to the Google
Groups "tesseract-ocr" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/tesseract-ocr?hl=en

Reply via email to