This question already has an answer here:
Despite following the recommended command line for .jar file :
java -jar imker-cli.jar
It doesn't work for me :
me@pc:~/Documents/imker$ java -jar imker-cli.jar The program 'java' can be found in the following packages: * default-jre * openjdk-8-jre-headless * gcj-4.8-jre-headless * gcj-4.9-jre-headless * gcj-5-jre-headless * gcj-6-jre-headless * openjdk-9-jre-headless Try: sudo apt install <selected package>
What is going on ? What should I do to run this .jar file ?