Make sure the Tesseract DLL is in the system PATH or java.library.path...?
On Tuesday, October 15, 2019 at 9:56:14 AM UTC-6, Nuno Feliciano wrote: > > Hi, > > I am getting an error with Tess4j when I run it in a Windows Server 2008 > R2 64 bit (tess4j-4.3.0). > > Exception in thread "main" java.lang.UnsatisfiedLinkError: > at com.sun.jna.Native.open(Native Method) > at com.sun.jna.Native.open(Native.java:1759) > at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:260) > at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:398) > at com.sun.jna.Library$Handler.<init>(Library.java:147) > at com.sun.jna.Native.loadLibrary(Native.java:412) > at com.sun.jna.Native.loadLibrary(Native.java:391) > at > net.sourceforge.tess4j.util.LoadLibs.getTessAPIInstance(LoadLibs.java:85) > at net.sourceforge.tess4j.TessAPI.<clinit>(TessAPI.java:42) > at net.sourceforge.tess4j.Tesseract.init(Tesseract.java:426) > at net.sourceforge.tess4j.Tesseract.getWords(Tesseract.java:693) > > I am using jdk1.8 64 bit > I don't have the error in a Windows 8.1 Enterprise 64 bit > > I have tried using dependecy walker to figure out which dlls I was > missing. I tried adding a few (dcomp,vcruntime140,msvcp140 and a few more), > but no luck. > > Can anyone help? > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/37636897-02aa-4b8d-ac2b-9ab3f4282bfb%40googlegroups.com.

