Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have tried many tutorials but none of them are clear enough. I have also tried installing it using Wine but it won't update and Wine goes gray and stops working.

Does anybody know an easy way to install Minecraft though the Java file without using Wine?

share|improve this question
Please mark answer as answered if that solved your problem :). – Ingo Oct 11 '10 at 13:38

11 Answers

up vote 30 down vote accepted

It is not necessary to install Minecraft. All you need to do is install Java.

  1. Now right click on your Minecraft.jar file and select "Open with Oracle Java 7 Runtime"

That's it. Enjoy!

Related:

share|improve this answer
6  
It also works perfectly with OpenJDK. I actually find the sound works better with OpenJDK, at least on a 64bit system. – Oli Feb 6 '11 at 9:07

And to start minecraft use command java -jar /path/to/Minecraft.jar. If you want you can create desktop launcher for it so you dont need to start it from terminal every time.

share|improve this answer

It's possible the problem is with some of the libraries he's using that he's using. But the bug should be fixed in a later version of the libraries. http://www.minecraftforum.net/viewtopic.php?f=17&t=57426 has a solution. In short:

Procedure:
1. Make sure minecraft alpha has been run at least once so it can download the gamedata.
2. Download the latest version of the game engine: http://sourceforge.net/projects/java-game-lib/files/Official%20Releases/LWJGL%202.5/lwjgl-2.5.zip/download
3. Open zip file in Archive Manager and open jar/ directory
4. Navigate to the minecraft game data directory in nautilus: /home/user/.minecraft/bin
5. Drag jinput.jar lwjgl.jar lwjgl_util.jar from the archive to the minecraft gamedata directory
6. Open native/linux/ in the archive
7. navigate to /home/user/.minecraft/bin/natives
8. Drag everything from native/linux/ to /home/user/.minecraft/bin/natives
9. Your done! Start the game!
share|improve this answer
Nice addition :) – Ingo Jan 12 '11 at 10:29

There is an installer which will get everything set up for you

http://www.minecraftforum.net/viewtopic.php?f=1022&t=272640

best of luck!

share|improve this answer
Worked perfectly for me – Phil Hannent Jul 5 '11 at 17:17

Make sure to have a java runtime installed (OpenJDK,sun-java), and execute the minecraft.jar with

java -jar /path/of/minecraft.jar

alternatively, you can right click the jar file and select to run it with your installed Java runtime.

You can even create an empty file and input the

java -jar /path/of/minecraft.jar

and you have created a shortcut! On it's first run, or any time you force an update, minecraft will download all of the necessary files to /home/[user]/.minecraft. The game also stores you saves, stats, screenshots, etc. here. For consistency, I would recommend moving the minecraft.jar you would have downloaded into the .minecraft directory after you update the game.

May you mine many diamonds.

share|improve this answer

I wrote a bash script that can get minecraft, create a menu/desktop shortcut, install Oracle Sun Java 7, and or OpenJDK 7. You can get it at http://www.minecraftforum.net/topic/1114574-bash-minecraft-installer/ .

share|improve this answer
  1. Make sure that JDK6 is installed from the software centre.
  2. Right click on the minecraft.jar and hit "Properties". Go to permissions, and allow it to be run as a program.
  3. Open minecraft.jar with JDK6 (right click and choose "open with").
share|improve this answer

Installation of minecraft for 12.04, 12.10 and 13.04 is now possible with a PPA.

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

What are PPAs and how do I use them?

share|improve this answer

If you create a launcher you can use the minecraft.png file from inside the jar as an icon. Just open it with your favorite zip manager (jars are zip files) and drag minecraft.png out.

share|improve this answer

Install Java quickly:

sudo apt-get install default-jre

This will download the JRE/OpenJDK. Right click the Minecraft JAR file (the launcher, not the binary), and select "Open with OpenJDK Java 7 Runtime".

share|improve this answer

Try typing this command -Xmx1024M -Xms512M -cp Minecraft.jar net.minecraft.LauncherFrame

If that doesn't work go to http://www.minecraft.net/download.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.