Sunday, 1 December 2013

How to install Minecraft for Ubuntu Linux

Posted by Gary Newell  |  at  20:30 35 comments

Introduction

My son has watched me download and install different versions of Linux on my computers over the past few years and he has gradually become interested in trying it for himself.

The main use of his laptop is to use Facebook, watch Youtube videos and to play Minecraft.

My son does play other games on the computer but generally they are Flash based or Java based games.

There is an XBOX for real gaming. (Although it is only a 360 and not an XBOX One. If anyone from Microsoft is reading this and would like me to write a review about the XBOX One then feel free to send me one and I will be more than happy to oblige).

The computer that my son uses is beginning to slow down even though it still has a reasonable set of specifications.

Running Linux would actually be a very good option for him and he can easily do everything that he does now. There is no reliance on any other Microsoft products because I installed LibreOffice on his computer years ago and he uses Thunderbird for mail.

The only possible problem that I thought I might have was with Minecraft. I did however manage to get it installed and it was relatively simple. This guide shows how I did it.

Install OpenJDK






















This article shows how to install Minecraft for Ubuntu but the instructions should work for other Linux distributions as well.

The first thing to do is download the OpenJDK Java Runtime. (The current version is 7).

In Ubuntu you can do this using the Ubuntu Software Centre but you can also use Synaptic (if you have it installed) or APT. Fedora users can use YUM and openSUSE users Yast or Zypper.

Download the Minecraft Launcher

Visit https://minecraft.net/download to download the Minecraft Launcher.



















Click on the link for the Minecraft.jar file and the file will download into your Downloads folder.

Open up a file manager or a terminal and navigate to the download folder.

Despite the text on the webpage stating that the jar should be executable I can confirm that it isn't.

To make it executable with Ubuntu right click on the Minecraft.jar file and choose properties.


Click on the "Permissions" tab and make sure the "Allow executing file as program" checkbox is checked.

If you are using the command line then run the command:

chmod +x Minecraft.jar

Run the launcher

You can now run the Minecraft.jar launcher in Ubuntu by double clicking on the file. (Double clicking will work for a large number of distributions).

If you want to run Minecraft from the command line navigate to the folder where Minecraft resides and then type:

java -jar Minecraft.jar

After a few seconds the launcher will load.

If you haven't registered then you can do so using the "Register" button otherwise if you are an avid Minecraft fan moving across from Windows to Linux then enter your email and password into the box and then click "Log In"
























If you have paid to play the game then you will be able to click "Play" to play the game but as I have never personally played the game I only get the opportunity to play the demo.

Clicking on the "Play Demo" button takes me through to the actual Minecraft game.











































As you can see setting up Minecraft is relatively easy.

Before I sign off though you might be interested in a free version of a very similar game that has been written for Linux.

MineTest

Open up the Ubuntu Software Centre and search for MineTest.






















Install "MineTest" and you will get a game that appears a lot like Minecraft. (To be honest in today's world somebody could easily get sued).

The game isn't as polished as MineCraft as you can see from the following screenshot.

The main game itself actually looks and runs fairly well. I have to admit to not being very good with the game but I always struggle with this sort of thing because of my colour blindness.





























There is a single player and multiplayer mode for MineTest.

It might be worth giving MineTest a go if you don't want to shell out the £20 for MineCraft.

Thankyou for reading.




To make it easier for everyone who wants to read my Ubuntu based articles and tutorials I have formatted them, rewritten them and added extra content which has resulted in the eBook "From Windows To Ubuntu".

The book isn't massive like a SAMS guide so it isn't going to take you forever to read it but there is certainly a lot of content.

Click here to buy the eBook "From Windows To Ubuntu"









About the Author

Gary Newell started the Everyday Linux User blog in 2010 and has written reviews on dozens of different Linux based operating systems. He has also written a number of tutorials.

Get Updates

Subscribe to our e-mail newsletter to receive updates.

Share This Post

Related posts

35 comments:

  1. OpenJDK isn't recommended for Minecraft. It's a common source of issues.

    ReplyDelete
    Replies
    1. I've been playing minecraft on openjdk for over 2 years and never had an issue. Never even heard of an issue that was fixed by using sun/oracle java over openjdk.

      Delete
    2. Running openjdk, works fine. 32 Bit Ubuntu 12.04LTS on AMD64 3400+ and AMD HD6450

      Delete
  2. I just wanted to say that "There is an XBOX for real gaming." should never be used in the same wording that has linux. Linux is all you need for some good gaming using Steam. You might say, but the game I want to play only runs on windows. Thats fine, no shame in dual-booting. I just think that anyone that says that "There is an XBOX for real gaming." maybe doesn't know what real games are.

    ReplyDelete
    Replies
    1. I have been a linux user for a long time now and although Steam is now becoming established I have to say that the XBOX is a really good bit of kit. It has been the best console for some time.

      Delete
    2. Yeah well that's about to change with the PS4. Take that, stupid Microsoft fans!

      Delete
  3. This site needs to be renamed to EverydayUbuntoNews.com
    this site is useless and ubunto is the worst crap ever.
    Get into real linux world not this shit...

    ReplyDelete
    Replies
    1. There are lots of articles about other distributions as well. The Puppy Linux page on the menu might give a clue to that.

      Delete
  4. The Minecraft PE Wiki is a website where anyone can edit. This allows you to chat, use forums, edit pages to make them great, and just have fun. Minecraft Servers

    ReplyDelete
    Replies
    1. The website you have linked to has PHP errors showing. I would recommend turning off errors in PHP on a production site as it gives hackers a great place to start their work.

      Delete
  5. What do you get if you cross Minecraft with games like Hill Climb Racing? Blocky Roads! In vibrant color, race your vehicle along bumpy. Free Minecraft Card

    ReplyDelete
  6. Wonderful....help me a lot of time. My son is going to love this Minecraft now playing on CentOS

    ReplyDelete
  7. I can't open minecraft because it has an "executable bit".

    ReplyDelete
    Replies
    1. Right click on the file and change the permissions. Add the tick to the executable bit.

      Delete
    2. with ubuntu 13.10 right after you give it executable permission... you then right click on the jar file and select open with openjdk7 and it launches right away. None of the other command lines are needed.

      Delete
    3. I have a question.
      When I open the permissions the tick box to mark executable doesn't show up. I'm not sure if it has to do with the version of ubuntu, I'm running 12.04.5

      Delete
  8. I appreciate this. My daughter is stuck in the hospital because of her condition, and getting to have fun on my Ubuntu laptop is making her day. Thanks so much!

    ReplyDelete
    Replies
    1. I am glad it helped Dan. I wish your daughter all the best and hope she gets well soon.

      Delete
  9. Many thanks - worked flawlessly for me on 12.04

    ReplyDelete
  10. I must not have done it right its opening the folder and wont execute even though i marked it as executable

    ReplyDelete
  11. Thank you for your great instructions, my son's system is all set up now by following your guide - very useful!

    ReplyDelete
  12. Thank you for the instructions, needed to go via terminal since the permission tab on the GUI (Xubuntu 14.04 trusty) was not there. The chmod command worked like a charm.

    ReplyDelete
  13. Thanks alot! Worked on mu newly installed xubuntu 14.04 lts! The executable box isn't there though so i had to do that through the cmd line.

    (P.S. If anyone knows how to use the Xubuntu gui to set executabls then please reply!)

    ReplyDelete
  14. What would I have to install on Manjaro? Would I just download and install OpenJDK? Or would I use a different program?

    ReplyDelete
    Replies
    1. Yes. I think you just need to install openJDK and follow the same process. I think you might need to use the terminal command to actually run minecraft though.

      Delete
  15. Replies
    1. When you choose to generate the world, under the tab with extra settings, make sure to enable "Enable Cheats" and you will have all the op ("admin") commands to use.

      (/gamemode /tp and all of those)

      Delete
  16. Thank you so much, this worked perfectly!

    ReplyDelete
  17. OpenJDK wont install what can i use instead?

    ReplyDelete
  18. would i have to repeat this downloading minecraft launcher over and over just to play the game??

    ReplyDelete
  19. I am unable to install open jdk - i type the following into terminal:
    sudo apt-get install openjdk-7-jre

    and receive the following error:
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Package openjdk-7-jre is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source

    E: Package openjdk-7-jre has no installation candidate

    Any advice would be appreciated.

    ReplyDelete
  20. Very Good. Thanks it worked great!

    ReplyDelete
  21. Thanks for the great write up.

    ReplyDelete

Feel free to comment on any of the blog posts. Please try to be constructive.

Offensive messages will be removed as will blatant adverts for misleading products and sites.

Thanks for visiting my blog

    Popular Posts

    Total Pageviews

    Subscribe

    Enter your email address:

    Delivered by FeedBurner

    Popular This Month

    What are other people buying?

    Ubuntu Buy
    Linux Mint Buy
    Puppy Buy
    Netrunner Buy
    Zorin OS Buy
    Debian Buy
    Robolinux Buy
    CentOS Buy
    Linux Lite Buy
    Manjaro Buy
    Bodhi Buy
    Kali Buy
    Simplicity Buy
    PCLinuxOS Buy
    Tails Buy
    Rocks Cluster Buy
    openSUSE Buy
    Lubuntu Buy
    Fedora Buy

    Followers

    Feedburner Followers

Blogger templates. Proudly Powered by Blogger.
back to top Google