i run ubuntu 16.04 and i am trying to execute 'minecraft.jar' located at my desktop. i right click and choose to open it using 'JDK java 8 runtime' but no luck. i then try to execute from the terminal:
s@s-Inspiron-3543:~/Desktop$ java -jar Minecraft.jar
and get the following message:
The program 'java' can be found in the following packages:
* default-jre
* gcj-5-jre-headless
* openjdk-8-jre-headless
* gcj-4.8-jre-headless
* gcj-4.9-jre-headless
* openjdk-9-jre-headless
Try: sudo apt install <selected package>
so, i installed and again i get the same... when i check for the java version:
s@s-Inspiron-3543:~$ update-java-alternatives -l
i get either
java-1.8.0-openjdk-amd64 1081 /usr/lib/jvm/java-1.8.0-openjdk- amd64
or if i use the 'java version' again i am told where to install it from...
any ideas???
thanks in advance : )