

Next check again which is the default JavaVM using java -versionĤ) Change the default JavaVM sudo update-alternatives -config javaĥ) Extract and rename the Minecraft icon unzip /home/$(whoami)/.minecraft/Minecraft.jar favicon.png -d /home/$(whoami)/.minecraft Sudo apt-get install openjdk-7-jre icedtea-7-pluginter To get OpenJDK 7, run sudo mkdir -p /usr/lib/mozilla/plugins Sudo apt-get install Oracle-java7-installer Sudo apt-get update sudo mkdir -p /usr/lib/mozilla/plugins To get Oracle Java 7, you need to first add a package repository repository that has it to download, refresh the package list, then download and install it, run sudo add-apt-repository ppa:webupd8team/java If you have the one you want to use, OpenJDK 7 or Oracle Java 7, and it is NOT set as default, skip to step 4 if it is, skip to step 5.

It is recommended to run minecraft with the latest stable java (7 aka 1.7) from Oracle, though running it with the open-source alternative OpenJDK works too. If you want to properly have minecraft installed: have its icon, be able to launch with minecraft in terminal, show up on the applications menu, etc, follow these steps:ġ) Download minecraft to ~/.minecraft wget -P /home/$(whoami)/.minecraft Ģ) Check which JavaVM is installed and which is set to default.

Now you can right click it, and run with a java. To get minecraft running, right click the minecraft.jar file, go to properties, permisions, and set it allow running as an executable. Here's a script to install minecraft and help troubleshoot most issues that can arise:
