"java not found" when I try to read a PDF file using the Tabula library
To be specific on above answer mentioned by Chris, if someone still not able to solve the error I would like to mention that the link he has provided for pom.xml you need to just delete the <dependencies> tag  and <?xml version="1.0" encoding="UTF-8"?> this. And just add pom.xml on to your root directory.
I have a Python bot running on Heroku. When I try to read a PDF using Tabula I get this error:

Еrror: tabula.errors.JavaNotFoundError: "java" command is not found from this Python process.Please ensure Java is installed and PATH is set for "java"

Why can't my bot find java?