title: "Need to install JAI Image I/O package." error when using tess4j in IntelliJ IDEA Scala SBT project
body: <p>The below tess4j JARs are part of my Scala SBT project in IntelliJ IDEA and are also added as module dependencies:</p>
  
  <p><a href="https://i.stack.imgur.com/LEAQ0.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/LEAQ0.png" alt="enter image description here"></a></p>
  
  <p>However, I get a <code>java.lang.RuntimeException: Need to install JAI Image I/O package. https://java.net/projects/jai-imageio/</code> exception when trying to run the following code in a Scala worksheet:</p>
  
  <pre><code>import java.io.File
  import net.sourceforge.tess4j._
  
  val imageFile = new File("LinkToJPGFile")
  val instance = new Tesseract()
  instance.setDatapath("MyTessdataFolder")
  
  val result = instance.doOCR(imageFile)
  print(result)
  </code></pre>
  
  <p>even though <code>jai-imageio-core-1.3.1.jar</code> is properly included in the project.</p>