I am using tess4j, the java wrapper of Tesseract. I also have the normal Tesseract installed. I am not exactly sure how tess4j is meant to work, but since it comes with a te
Let your TESSDATA_PREFIX environment variable
point to the tessdata folder of your Tess4j.
Usually you set up these variable during an installation on the system, but you maybe find a solution here: How do I set environment variables from Java?
You have to do it on the system which runs your app because the tessdata .dll
s depend on this enviroment variable.