Mageia - How to install Minecraft?

December 2016


Minecraft, the popular sandbox game ,developed by Markus Persson. The world of Minecraft is composed of blocks of different types (earth, sand, stone, water, trees, animals, etc..). Minecraft is basically a survival type game, where the player can change change the world at will by adding, deleting and combining blocks. The main feature of the game lies in the dynamic creation of the world: each map is randomly generated gradually as the player advances. However the landscape remains coherent and composed of several biomes (forests, prairies, deserts, jungles, tundras, taigas and swamps). Minecraft currently offers different game modes (including multiplayer instances):
  • Adventure
  • Survival
  • Creative
  • Hardcore
  • Spectator


In this Mageia tutorial you will learn how to install Minecraft.

Prerequisites


Installation

As from Mageia 3, java (oracle) is no longer available in the repositories. Only java-openjdk-xxx (where xxx is the version) is available.
You can try with OpenJDK or Oracle Java.

Minecraft

You can download the game here: https://minecraft.net/download.
  • It is a small .jar file.
  • To facilitate access to the game you can rename it as .minecraft and save it in your /home directory.
  • This will give the following path "/home/$USER/.minecraft/"(the dot in front means it is a hidden folder and it is also the default folder to store game data)
  • Make the Minecraft file executable: right-click > Properties.

Java

You can install Java from this address: http://www.java.com/en/download/manual.jsp.
Download the RPM:
  • Linux RPM for 32bits
  • Linux x64 RPM for 64bits

Once installed, restart your computer.

Start the game

To start the game simply type the following command in the terminal:
cd /home/$USER/.minecraft ; java -jar minecraft.jar
  • You can create a shortcut to launch the game easily.
  • Create a text file on your desktop and called the "Minecraft.sh".
  • In the text file:

#!/bin/bash   
cd /home/$USER/.minecraft ; java -jar minecraft.jar
  • Then make the file executable > right-click > Properties.

Troubleshoot bugs and common issues

Several bugs are known from Minecraft such as "Done Loading" blocked or the "Black Screen".
  • To avoid this, download and install LWJGL.
  • You will get information here: http://www.minecraftwiki.net/wiki/LWJGL.
  • Download latest version here.
  • Once downloaded, you will have to copy some files to your Minecraft folder:

/home/$USER/.minecraft  
-> minecraft.jar
  • You will see a "bin" folder and the "natives" subfolder (if they are not present, you can create them manually)

/home/$USER/.minecraft/bin/natives
  • Copy the contents of lwjgl to your Minecraft folder.

Only the Jar and Native/Linux folder are required, copy them to:
  • Contents of Jar => in bin
  • Content of native/linux => natives

You should have the following screen:

Restart the game and it should work correctly

Related :

This document entitled « Mageia - How to install Minecraft? » from CCM (ccm.net) is made available under the Creative Commons license. You can copy, modify copies of this page, under the conditions stipulated by the license, as this note appears clearly.