My first guess would be that you need to make sure that you are using a 32bit JVM. The DLL is 32bit, so your JVM needs to match. Then, so long as the DLL's are on the classpath (main project directory in Eclipse) it should be able to load them.
-- Neal Audenaert On Tue, Sep 11, 2012 at 1:40 AM, Suriya Prakash <[email protected]> wrote: > when i try to compile this,the error shown like this,in netbeans, i dont > know where to put dll files > > > > Exception in thread "main" 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.Library$Handler.<init>(Library.java:140) > at com.sun.jna.Native.loadLibrary(Native.java:368) > at com.sun.jna.Native.loadLibrary(Native.java:353) > at net.sourceforge.tess4j.TessAPI.<clinit>(TessAPI.java:38) > at net.sourceforge.tess4j.Tesseract.doOCR(Tesseract.java:255) > at net.sourceforge.tess4j.Tesseract.doOCR(Tesseract.java:223) > at net.sourceforge.tess4j.Tesseract.doOCR(Tesseract.java:169) > at net.sourceforge.tess4j.Tesseract.doOCR(Tesseract.java:154) > at > net.sourceforge.tess4j.example.TesseractExample.main(TesseractExample.java:15) > > > > If you have any setup, please send me. > > > > > > On Tue, Sep 11, 2012 at 12:26 AM, Neal Audenaert <[email protected] > > wrote: > >> The Tess4J library is the one that I've seen talked about most often: >> http://tess4j.sourceforge.net/ >> >> I've started putting together a wrapper that makes this a bit more >> Java-flavored. https://github.com/audenaert/org.dharts.dia.tesseract >> As the README says, this is early alpha and I haven't really tested it >> very well yet. It's not a .jar file, as such, but you should be able to use >> it to create a jar if that's what you need. >> >> Neal Audenaert >> >> >> >> >> >> On Mon, Sep 10, 2012 at 10:03 AM, sk <[email protected]> wrote: >> >>> For tesseract any compiled jar is available, i need to use that with my >>> java codings, i googled it, cant find the right solution for this, It would >>> be helpful, if you provide detail steps for this issue.. >>> >>> On Saturday, 24 March 2012 12:33:48 UTC+5:30, jbg wrote: >>>> >>>> If you really want to use the Tesseract C++ API from a java app then I >>>> suggest you to use >>>> http://code.google.com/p/**javacpp/<http://code.google.com/p/javacpp/>. >>>> I did it with it >>>> and works fine. You need to create a couple of extra code but the >>>> javacpp Readme gives a good overview how to do it. >>>> >>>> On Mar 1, 2:13 pm, thera <[email protected]> wrote: >>>> > Hi >>>> > I'm trying to make use of Tesseract in a java project but I really >>>> > can't figure out the process of doing it. >>>> > Could someone please help me (Using a Mac 10.6) >>>> > >>>> > I got the idea that a library by the name libtesseract_api.a >>>> > >>>> > Taken from the ReadMe >>>> > "Another important change is that you should really be using >>>> > TessBaseAPI if you are linking with another program. In Linux (non- >>>> > Windows) the main library is now libtesseract_api.a instead of the >>>> old >>>> > libtesseract_full.a." >>>> > >>>> > Sorry this may seem very simple but cant seem to figure out. >>>> > Any help would be really great >>>> > Thanks >>> >>> -- >>> 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 >>> >> >> -- >> 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 >> > > -- 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

