2

I'm having trouble opening Minecraft.jar because there is no java runtime in open with listed. Even though I have installed it. This seems to be the solution JRE not showing up in "Open with" list But I don't understand how I'm supposed to make the file hes talking about. I right clicked in /usr/share/applications/ but it didn't give me an option to make a file.

Thanks for any help.

2 Answers2

2

Install Java with this commands and you have an entry in Open with:

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer

and then

sudo apt-get install oracle-java8-set-default

And in order to do things more easily, use the Minecraft Installer.

sudo add-apt-repository ppa:minecraft-installer-peeps/minecraft-installer
sudo apt-get update
sudo apt-get install minecraft-installer

Then run Minecraft from the Dash.

A.B.
  • 90,397
1

Make a run.sh file in the directory with the Minecraft.jar containing

#!/bin/sh
 java -jar Minecraft.jar

or anywhere you like changing Minecraft.jar to the correct filepath. Mark the file as executable and run it.