A few words of thanks would be greatly appreciated.

Mageia - How to install Minecraft?

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.



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.


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.


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:

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:

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

  • 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

A few words of thanks would be greatly appreciated.

Ask a question
Jean-François Pillou

CCM is a leading international tech website. Our content is written in collaboration with IT experts, under the direction of Jeff Pillou, founder of CCM.net. CCM reaches more than 50 million unique visitors per month and is available in 11 languages.

Learn more about the CCM team

Original article published by . Translated by jak58. Latest update on by Jean-François Pillou.

This document, titled "Mageia - How to install Minecraft?," is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (https://ccm.net/).