title: Can't obtain inputstream
body: <p>I'm trying to work with the tess4j library, but I keep getting the error: </p>
  
  <blockquote>
    <p>java.lang.UnsatisfiedLinkError: Unable to load library 'tesseract':
    Can't obtain InputStream for linux-x86-64/libtesseract.so at
    com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:271) at
    com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:398) at
    com.sun.jna.Library$Handler.(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(Unknown
    Source) at net.sourceforge.tess4j.TessAPI.(Unknown Source) at
    net.sourceforge.tess4j.Tesseract.init(Unknown Source) at
    net.sourceforge.tess4j.Tesseract.doOCR(Unknown Source) at
    net.sourceforge.tess4j.Tesseract.doOCR(Unknown Source) at
    net.sourceforge.tess4j.Tesseract.doOCR(Unknown Source) at</p>
  </blockquote>
  
  <p>I am trying to package the tesseract.so executable in my JAR. I saw the example here: <a href="http://tess4j.sourceforge.net/tutorial/" rel="nofollow">http://tess4j.sourceforge.net/tutorial/</a> and it seems to suggest I can just put it in my build path. Any help would be appreciated. I've tried building it against 32 and 64 bit JRE.</p>