Command java not Found

Indications

Output similar to the following when running software manually or when started automatically (OS-specific):

$ cd /opt/terma/jobtrac-connector

$ java -jar jobtrac-connector-1.0.0.jar
 
Command 'java' not found, did you mean:

     command 'java' from deb default-jre
     command 'java' from deb openjdk-11-jre-headless
     command 'java' from deb openjdk-8-jre-headless

Try: sudo apt install <deb name>

Significance

This message indicates a Java virtual machine is either not installed or available in the path for the current user on the host or container. The software requires an available, compatible Java virtual machine in order to work.

Resolution

Install a Java 8-compatible Java Runtime Environment (JRE) or Java Development Kit (JDK). For more information, see Prerequisites. Re-run the software normally, once complete.