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?
It is not necessary to install Minecraft. All you need to do is install Java.
That's it. Enjoy!
Related:
Installation of Minecraft for 12.04, 12.10, 13.04, 13.10, 14.04, 14.10 and 15.04 is now possible with a PPA.
What are PPAs and how do I use them?
Here's a script to install minecraft and help troubleshoot most issues that can arise:
To get minecraft running, right click the minecraft.jar file, go to properties, permisions, and set it allow running as an executable. Now you can right click it, and run with a java.
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:1) Download minecraft to ~/.minecraft
2) Check which JavaVM is installed and which is set to default.
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 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.
3) Installing Java
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
To get OpenJDK 7, run
Next check again which is the default JavaVM using
java -version
4) Change the default JavaVM
5) Extract and rename the Minecraft icon
6) Create a launcher in /usr/local/games/ so you can run minecraft with just
minecraft
.Moving and changing permission of Minecraft shell script
7) Install the minecraft icon to your system
8) Create a desktop launcher (shortcut) for Minecraft
Granting the launcher executable permissions
Adding the shortcut to your application menu and adding it to your desktop
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.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:
Make sure to have a java runtime installed (OpenJDK,sun-java), and execute the minecraft.jar with
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
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.
minecraft.jar
and hit "Properties". Go to permissions, and allow it to be run as a program.minecraft.jar
with JDK6 (right click and choose "open with").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.
Try typing this command:
java -Xmx1024M -Xms512M -cp Minecraft.jar net.minecraft.LauncherFrame
If that doesn't work go to http://www.minecraft.net/download.
Install Java quickly:
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".