I had this problem when I first set it up to. I don't remember the exact fix however I remember a few things I had to check along the way.
Is Java installed? I'm personally using OpenJDK v 1.8.0_312 (found with "java -version" command).
Is your start.sh file properly set?
Towards the bottom of...