1. Download Oracle Java
First you will need the official Oracle version of Java (the open source alternatives will probably not work as well for Minecraft). I think you can just download the runtime, but I personally opt for installing the complete Java Development Kit (JDK).
You can download the official JDK here.
If you run a RedHat based distro, there is a
.rpm, otherwise just get the
.tgz for your system.
2. Installing Oracle Java
At the time of writing, the version of java is 7u45.
I move this
.tar.gz file from my downloads folder to
/opt and unzip it
there, like this:
1 2 3
This will create a new directory called
As there is a good chance we will be updating java in the future, I create a symlink that we can easily change to the new versions in the future like this:
Now when ever you want to find java, it will be in
All we have to do now is make the executables available on the
.profile, etc.) and add this line:
3. Install Minecraft
Get Minecraft from the official Minecraft download page.
Under the “Minecraft for Linux / Other” there is a link to download the
.jar file. I also put this in
At this point we can start Minecraft with this:
4. Setting up an Application Launcher for Gnome
I use Gnome Shell and if I’m not in a terminal, I normally use Gnome’s Activities Overview to launch apps by pressing the ‘super’ key, typing “Minecraft” and pressing ‘enter’.
We want Minecraft to be installed just like any other app, so we will need to
add a launcher for Minecraft, but before we do that, we need an icon for it.
I just found one online, so lets download it to our
Then to make an application launcher, you can use this:
You can assign it the logo we downloaded earlier and use this for the command:
5. Have fun!
Now you can launch Minecraft just like the other apps in Gnome Shell!