Check out the Tutorial: Development with Tess4J 
<http://tess4j.sourceforge.net/tutorial/>.

You may also need to set java.library.path or java.library.path variable.

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 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/d72797ce-247c-4fb1-b081-12722c82bfda%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to