The following is a guide to getting the popular game Minecraft running on your Fedora 16 system. This guide should work for most versions of Fedora, but I only tested with the latest version.
First, you need to install the Oracle version of Java if you have not already. Go to http://www.java.com/en/download/index.jsp and click Free Java Download. Scroll down and choose Linux RPM or Linux x64 RPM. If you are using a 64-bit version of Fedora, choose the x64 version.
Back at the command line, do the following commands after the download finishes:
cd ~/Downloads chmod u+x jre*bin sudo ./jre*bin
You should see some stuff go on that looks like the package is getting installed including # symbols until reaching 100%.
Now, back at your browser, head over to http://www.minecraft.net/ and on the right of the page under Buy Now! click Download. Then, just under Minecraft for Linux / Other, click minecraft.jar, if it does nothing, you may have to right click it and choose Save Link As.
Now, head back to your terminal window, and type the following to launch Minecraft.
cd ~/Downloads /usr/java/latest/bin/java -Xmx1024M -Xms512M -cp minecraft.jar net.minecraft.LauncherFrame
thx
tried some other solutions, which did not work
but yours works 🙂
played “install java ‘n stuff to play minecraft” for 3 days now – your tutorial helped – FINALLY!
thanks a lot!
chem!
black screen after login !
Was this using the RPM or did you use the directions I posted?
Same to me
Using the RPM or launching from command line? Also, did you install the Sun Java?
Dude, wtf is the point of a package manager if you make packages that don’t install their dependencies?
Strongly recommend people do rpmls and rpmlint on this before blindly installing.
Sorry, that was my first ever attempt at creating an RPM. Also, the Sun Java rpm isn’t in the yum repos normally. So that is why I posted the link to grab it from the Sun website.
Im new to fedora so i dont really know how to use the commands and all, can you help me?
Your package is busted.
Minecraft.noarch: W: non-standard-group Applications/Games
Minecraft.noarch: E: no-changelogname-tag
Minecraft.noarch: W: invalid-license Closed Source
Minecraft.noarch: W: no-url-tag
Minecraft.noarch: W: no-documentation
Minecraft.noarch: E: dir-or-file-in-usr-local /usr/local/share/applications/minecraft.desktop
Minecraft.noarch: E: dir-or-file-in-usr-local /usr/local/games/minecraft.jar
1 packages and 0 specfiles checked; 3 errors, 4 warnings.
Looking into it now, I hadn’t touched it in awhile.
Odd, it worked fine for me.
“[root@testbox home]# rpm -Uvh Downloads/Minecraft-1.0-1.noarch.rpm
Preparing… ########################################### [100%]
1:Minecraft ########################################### [100%]”
Thank you so much.