Hi every one.

I am trying to use tesseract OCR in Java for a 64 bit JVM. I have tried all 
the solutions which are mentioned. 

i) Added the dll files for 64 bit JVM taken from "Tesseract .NET wrapper 
project." (
https://github.com/charlesw/tesseract/tree/master/src/lib/TesseractOcr/x64)

ii) Changed the jna.library.path value. 

But still i am getting the same error as before.

java.lang.UnsatisfiedLinkError: Unable to load library 'libtesseract302': 
Native library (win32-x86-64/libtesseract302.dll) not found in resource 
path.

Kindly reply whether there is an option to use Tesseract OCR in a 64 bit 
JVM and advise the solution please. 



On Friday, January 18, 2013 7:41:56 PM UTC+5:30, 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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tesseract-ocr/afe888dc-9368-4cd0-b87f-7f3862a1e932%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to