I am new in Tess4J. I'm getting this error
Error opening data file ./tessdata/eng.traineddata Please make sure the TESSDATA_PREFIX environment variable is set to the parent directory of your "tessdata" directory. Failed loading language 'eng' Tesseract couldn't load any languages! Empty page!!
After searching, I added environment variable TESSDATA_PREFIX pointing to "C:\Program Files\Tesseract-OCR\tessdata" which has eng.traineddata file.
How can I get this to work. Please help, step by step if possible.