title: java.lang.IllegalAccessError: tried to access method net.sourceforge.tess4j.Tesseract.<init>()V from class Tess4jTest.TestTess
body: <p>I did a <code>Java OCR</code> project with <code>Tesseract</code> in the <code>Mirth</code>.When I run the jar file from the Mirth,I get this error.When I search it,I found that there is a init() method and also it is a protected void in Tesseract.java.I think that maybe it is the reason for that error.
  What should I do?Thank you so much for your helps.</p>
  
  <pre><code>package Tess4jTest;
  
  import java.io.File;
  import java.io.IOException;
  import net.sourceforge.tess4j.*;
  
  public class TestTess {
  
  public static String Tc;
  public static String phone;
  public static String date;
  
  
  public static void main(String[] args) {
      //System.out.println(returnText("C:\\Users\\Nevzat\\Desktop\\deneme.pdf"));
  }
  
  public static String returnText(String fileName){
  
      File imageFile = new File(fileName);
      if(imageFile.exists()){
          Tesseract instance = new Tesseract();
          instance.setDatapath("C:\\imageRAD\\Onam\\tessdata");
          String result = null;
          try {
              result = instance.doOCR(imageFile);
          } catch (TesseractException e) {
              System.err.println(e.getMessage());
          }
          if(result!=null){
  
              int i=result.indexOf("Numarasn: ");
              int j=result.indexOf("Tel No:");
              int k=result.indexOf("Bilgllendirme Tarihl:");
  
              Tc = result.substring(i+10, i+21);
              phone = result.substring(j+8,j+23);
              date = result.substring(k+22,k+32);
              //System.out.println(result);
          }else{
              return "Null Error!";
          }
  
      }else{
          return "Does not found a file!";
      }
  
      return Tc+","+phone+","+date;
  }
  
  public static String returnTC() throws IOException{
      return Tc;
  }
  
  public static String returnPhone() throws IOException{
      return phone;
  }
  
  public static String returnDate() throws IOException{
      return date;
  }
  
  }
  </code></pre>