Newbie help with installing minecraft

Post here if you are a new Porteus member and you're looking for some help.
Hardstriker
White ninja
White ninja
Posts: 4
Joined: 23 Dec 2013, 23:03
Distribution: Porteus KDE v. 2.1
Location: Buffalo NY, USA

Newbie help with installing minecraft

Post#1 by Hardstriker » 26 Dec 2013, 18:15

I decided to take the plunge and finally get a Linux distro, I was originally aiming for Ubuntu, until I found porteus! I am running the 64 bit version off of a 4 GB USB flash drive.

My question is, how do I install java correctly? What i did so far was download the 64 bit Linux version, click the is exe. button under properties, right click and select install Slackware package. It says installed, but I am not sure if it really did.

Another question, How do I run minecraft? I heard I just have to select open with java?

(please note this is my first time with Linux...)
Thanks for your help!
Last edited by Hardstriker on 27 Dec 2013, 03:46, edited 1 time in total.

User avatar
francois
Contributor
Contributor
Posts: 6445
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: Newbie help with installing java

Post#2 by francois » 26 Dec 2013, 19:53

Welcome hardstriker!! :)

Which version of porteus are you actually working with? What desktop did you choose?

gccjava could be installed thru PPM (porteus package manager), the box in the left part of the panel. See faq to be able to operate PPM:
http://www.porteus.org/tutorials/9-modu ... dules.html

Minecraft is available under alien slackware. I never used it. You have to transform the txz slackware packages into xzm porteus packages which is pretty easy. However you need the good slackware version which depends on the porteus version you are using.

For alien slackware packages needed for minecraft are here, for porteus 2.1 you should use slackware 14.0 version of minecraft-latest-noarch-2alien.tgz:
http://www.slackware.com/~alien/slackbu ... craft/pkg/

Download the txz package and with a right click of the mouse, selecting the right submenu item, transform it into a xzm module. Be patient proportionally to the power of your computer. Porteus will tell you the module is ready.

There seem to be only one dependency for minecraft, called openal, as can be concluded by opening the minecraft-latest-noarch-2alien.dep file. You can download that dependency from PPM.

Make sure that your three modules are in the /porteus/modules folder so that they will activate automatically at next bootup. You can activate them right away by right clicking them and selecting the appropriate menu. Minecraft should be available in the menu under internet or games category. If not open terminal and try minecraft.

Good luck. Let us know how it goes. :wink:

Note: normally you should open one thread by topic, one for java and one for minecraft, unless they are related.
Prendre son temps, profiter de celui qui passe.

Hardstriker
White ninja
White ninja
Posts: 4
Joined: 23 Dec 2013, 23:03
Distribution: Porteus KDE v. 2.1
Location: Buffalo NY, USA

Re: Newbie help with installing java

Post#3 by Hardstriker » 27 Dec 2013, 03:16

Thanks! So far it looks good, All I have to do now is restart so the packages are activated! Running porteus KDE 2.1 PC specs are fx-6120, radeon 7870, 8 gb of kingston ram, ga-970a-d3p mobo. I could get into all the details of case and stuff, but This thread is java and minecraft. Thanks again for your help!

Hardstriker
White ninja
White ninja
Posts: 4
Joined: 23 Dec 2013, 23:03
Distribution: Porteus KDE v. 2.1
Location: Buffalo NY, USA

Re: Newbie help with installing minecraft

Post#4 by Hardstriker » 27 Dec 2013, 03:52

Well I have one problem with minecraft, (renamed to minecraft because this thread is turning into minecraft stuff.) I added it to my favorites menu. When I click on it, it just displays the bouncing block and never opens. Other programs like gimp work fine. I have the openal installed too, so that can't be the problem. Any thing you can think of that might be the problem?

Thanks for your time!

User avatar
francois
Contributor
Contributor
Posts: 6445
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: Newbie help with installing minecraft

Post#5 by francois » 27 Dec 2013, 13:37

Ok. It might be simpler than we thought. We are talking about a .jar program. This game should work like Domination game:
http://forum.porteus.org/viewtopic.php? ... 2&start=30

I will try to figure it out on porteus 2.1 and come back.

Here it is:

1) Download, convert txz2xzm (thru right click and selection of the appropriate submenu) and install openjre in /porteus/modules folder and activate it (thru right click and selection of the appropriate submenu):
32bit:http://www.slackware.com/~alien/slackbu ... 1alien.txz
64bit:http://www.slackware.com/~alien/slackbu ... 1alien.txz

2) Download minecraft into the folder of your choice, lets say /root/games/:
https://s3.amazonaws.com/Minecraft.Down ... ecraft.jar

3) Create a symbolic link from the java binaries to /usr/bin so that java program could be invoked directly without its residing folder:
32bit:

Code: Select all

root@porteus:/# ln /usr/lib/java/jre/bin/java
64bit:

Code: Select all

root@porteus:/# ln /usr/lib64/java/jre/bin/java
4) Start minecraft thru the following command line in terminal:
http://ubuntuforums.org/showthread.php?t=1862455

Code: Select all

root@porteus:~/Downloads# cd /root/games/
root@porteus:~/games# ls
Minecraft.jar
root@porteus:~/games# /usr/lib64/java/jre/bin/java -jar Minecraft.jar
Bootstrap (v5)
Current time is Dec 27, 2013 10:16:59 AM
System.getProperty('os.name') == 'Linux'
etc., etc. ...
Last edited by francois on 27 Dec 2013, 16:52, edited 3 times in total.
Prendre son temps, profiter de celui qui passe.

User avatar
francois
Contributor
Contributor
Posts: 6445
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: Newbie help with installing minecraft

Post#6 by francois » 27 Dec 2013, 15:22

If instead of starting from command line you would like to start minecraft from the kde menu, have a look at the way you could install minecraft in the panel menu. The example if for Dormination or the Risk game:
http://forum.porteus.org/viewtopic.php? ... 2&start=30

It would be nice that you tell us why minecraft is such an interesting game. What is so different from other games? :)
Prendre son temps, profiter de celui qui passe.

User avatar
francois
Contributor
Contributor
Posts: 6445
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: Newbie help with installing minecraft

Post#7 by francois » 28 Dec 2013, 01:43

@francois: jre is avail via ppm, no need to download, convert.


For one reason or another, openjre would not download properly on my system, even in always fresh mode. I have reported it as a PPM bug. Are you able to download it anew?
Prendre son temps, profiter de celui qui passe.

User avatar
Ed_P
Contributor
Contributor
Posts: 8578
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Re: Newbie help with installing minecraft

Post#8 by Ed_P » 28 Dec 2013, 06:11

I added Java Runtime Support to my RazorQT system using the download linked to in this thread:

http://forum.porteus.org/viewtopic.php?f=81&t=2892

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: Newbie help with installing minecraft

Post#9 by brokenman » 28 Dec 2013, 15:09

Don't feel like re-booting yet again, just to please PPM.
Why are you rebooting at all? If PPM is causing you to reboot then it's something i need to take a look at. I despise rebooting and havn't had the need unless developing and experiencing a lock up.
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
francois
Contributor
Contributor
Posts: 6445
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: Newbie help with installing minecraft

Post#10 by francois » 28 Dec 2013, 15:36

I hope we are not overkilling our newbie. :oops:

This what we can call giving some service on the forum. :D
Prendre son temps, profiter de celui qui passe.

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: Newbie help with installing minecraft

Post#11 by brokenman » 29 Dec 2013, 00:33

Thanks phhpro. Points well taken. We are currently looking at overhauling our current package management.

Francois, yes you are right. Sorry for going off topic.
How do i become super user?
Wear your underpants on the outside and put on a cape.

Hardstriker
White ninja
White ninja
Posts: 4
Joined: 23 Dec 2013, 23:03
Distribution: Porteus KDE v. 2.1
Location: Buffalo NY, USA

Re: Newbie help with installing minecraft

Post#12 by Hardstriker » 29 Dec 2013, 03:07

francois wrote:Ok. It might be simpler than we thought. We are talking about a .jar program. This game should work like Domination game:
4) Start minecraft thru the following command line in terminal:
http://ubuntuforums.org/showthread.php?t=1862455

Code: Select all

root@porteus:~/Downloads# cd /root/games/
root@porteus:~/games# ls
Minecraft.jar
root@porteus:~/games# /usr/lib64/java/jre/bin/java -jar Minecraft.jar
Bootstrap (v5)
Current time is Dec 27, 2013 10:16:59 AM
System.getProperty('os.name') == 'Linux'
etc., etc. ...
Thanks everyone for taking the time to help me! In the quote is that all I need to use to launch minecraft after I link everything together? I will try all this once I get a day off from work, which will be January 2nd (I get home tired and careless from work, I don't want to mess anything up irreversibly). But since it sounds like this method may not work, I might just hold off on minecraft for a bit and look at some other games for porteus. Thank you for presenting the information in a manner that is easy for me, a newcomer to linux, to read and understand. I also find it interesting that my question led to the discovery of a bigger problem. If anyone finds a more definite solution, please let me know! And again thanks for helping me out! :)

User avatar
francois
Contributor
Contributor
Posts: 6445
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: Newbie help with installing minecraft

Post#13 by francois » 29 Dec 2013, 16:33

This method works. I started the game on my computer this way. I will have my son test it, or play with it to go further. 8)
Prendre son temps, profiter de celui qui passe.

Post Reply