Pages

Kamis, 19 Juli 2012

How-to Install & Minecraft on Ubuntu & 12.04 LTS



Updated Sun Java 6 oab-java.sh script instructions: June 2012.

Minecraft is a sandbox-building independent video game originally by Swedish creator Markus “Notch” Persson and now by his company, Mojang. Minecraft is focused on creativity and building, allowing players to build constructions out of textured cubes in a 3D world. Gameplay in its commercial release has two principal modes: Survival, which requires players to acquire resources themselves and maintain their health and hunger; and Creative, where the player has an unlimited supply of resources, the ability to fly, and no concept of health or hunger. A third gameplay mode, named Hardcore, is essentially the same as Survival, but the difficulty is locked on the hardest setting and respawning is disabled, forcing the player to delete his or her world upon death. An outdated Classic version is also available for free, although it is no longer being developed. Creative Minecraft resembles Classic, but with many more features.

 



Q: What are major differences between using my script and downloading the launcher directly from minecraft.net?

Downloading from minecraft.net

-you download a .jar file
-you have to run “java -jar /path/to/download/minecraft.jar” to play
-you can’t run it with just a “minecraft” command
-you’ll have to manually create any launchers or shortcuts.

Downloading my Script

-you download and run a shell script
-you can now run it with a “minecraft” command from terminal
-you get a nice looking launcher instead of an ugly .jar file
-installer now checks for Java, and will allow you to install a minecraft server
-minecraft is now installed to your applications menu, under the Games tab



First you need to completely remove OpenJDK from your system.

In Terminal, copy and paste:
sudo apt-get purge openjdk*

There are times when you need to compile software from sources, maybe because you need to compile the package with some specific option that is not enabled in the default package, or maybe the software application you wish to install isn’t available in any of your repositories. When you begin the installation process you will come to a window that will require you to accept the EULA to install, and you will need to click on your <Tab> key to select <OK> and press enter.

In Terminal, copy and paste:
sudo apt-get install build-essential checkinstall cdbs devscripts dh-make fakeroot libxml-parser-perl check avahi-daemon

When you begin the Sun Java installation process you will come to a window that will require you to accept the EULA to install, and you will need to click on your <Tab> key to select <OK> and press enter. (This will take some time to install – be patient with it please)

At this point you need to decide which Sun Java you would prefer to use with Minecraft.

If you want to use the latest Sun Java 7 (more secure but compatibility is unknown):
sudo apt-get purge openjdk-7-jre icedtea-7-plugin
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-jdk7-installer

If you want to use Sun Java 6 (outdated, but recommended by Minecraft and tested):
cd ~/
sudo wget https://github.com/flexiondotorg/oab-java6/raw/0.2.3/oab-java.sh -O oab-java.sh
sudo chmod +x oab-java.sh
sudo ./oab-java.sh
sudo apt-get install sun-java6-jre
sudo apt-get install sun-java6-plugin sun-java6-fonts

Download and untar installation bash script:
cd Downloads
wget http://debianhelp.files.wordpress.com/2011/10/minecraft_installer-sh-gz1.doc
cp minecraft_installer-sh-gz1.doc minecraft_installer.sh.tar.gz
tar -xvf minecraft_installer.sh.tar.gz

To install Minecraft Client:
sudo bash minecraft_installer.sh --install-client

To install Minecraft Server:
sudo bash minecraft_installer.sh --install-server

If you need technical support using Minecraft make sure to post your questions in the proper forum over @ http://www.minecraftforum.net/

Special Note on how-to fix black screen bug:

http://www.minecraftwiki.net/wiki/Tutorials/Update_LWJGL

And if this bash script isn’t working for you, please visit:

http://www.minecraftforum.net/topic/1114574-bash-minecraft-installer/

Source : http://debianhelp.wordpress.com/2012/05/22/how-to-install-minecraft-on-ubuntu-12-04-lts/

0 Responses to “How-to Install & Minecraft on Ubuntu & 12.04 LTS”

Posting Komentar

Blogger news

All Rights Reserved Made Sumitre | Blogger Template by Bloggermint