title: Including Tess4J to a Java project as library in Eclipse
body: <p>I have an so far empty and clean Eclipse Java project.
  What do I have to do to use <code>Tess4J</code> as library for my web service that I want to develop?
  <em>Is it even possible to use it as library for an Android project? (would be shortcutting a lot)</em> There is an issue regarding <code>.tif</code> with android that I came across.</p>
  
  <p>Tess4J is a wrapper for native code, because tesseract-ocr is written in C/C++. That I've got so far. But how to include this wrapper into my project?</p>
  
  <p>I've googled a lot until I have decided to drop <code>tesseract.Net</code>, beacuse this project is badly maintained/documented and would force me to C# (which would be okay), but I didn't manage to get it to work, so I had to default to C/C++ (which is not okay) ;)</p>
  
  <p>I'm kind of lost right now, so any help is welcome.
  regards.</p>
  
  <p><strong>Edit: followed the steps mentioned <a href="http://sourceforge.net/projects/tess4j/forums/forum/1202294/topic/4506433" rel="noreferrer">here</a> (answer from nguyenq)</strong></p>
  
  <p>1: new Eclipse workspace</p>
  
  <p>2: created a new dir called <code>lib</code></p>
  
  <p>3: copied <code>\Tess4J\dist\tess4j.jar</code>, <code>\Tess4J\lib\jna.jar</code> and <code>\Tess4J\lib\jai_imageio.jar</code> into <code>lib</code> (2)</p>
  
  <p>4: created a new Java project in Eclipse</p>
  
  <p>5: in project properties (4) I added the .jars from (3) to Java build path as external jars under libraries</p>
  
  <p>6: I copied the dir <code>\tessdata</code> and <code>libtesseract302.dll</code> into the project root dir <code>\workspace\project\</code></p>
  
  <p>7: I created a new class <code>Main</code> and instantiated a <code>Tesseract1 tesseract = new Tesseract1();</code> for testing</p>
  
  <p>8: I run the application but an Exception was thrown: <code>Exception in thread "main" java.lang.UnsatisfiedLinkError: Unable to load library 'libtesseract302' Module not found</code></p>
  
  <p><strong>Edit2:</strong> </p>
  
  <p>7.1: I created a new class <code>Main</code> and instantiated a <code>Tesseract tesseract = new Tesseract.getInstance();</code> for testing (source: <a href="http://tess4j.sourceforge.net/codesample.html" rel="noreferrer">here</a>)</p>
  
  <p>8.1: looked okay so far, but no logic implemented, just tried to build it.</p>
  
  <p><strong>Edit3:</strong></p>
  
  <p>9: nope, doesn't work. Still UnsatisfiedLinkError. Could it may be an issue regarding 32-bit vs. 64-bit?
  I'am working on Win7 64bit.</p>