minecraft and java

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
User avatar
mrstordal
Posts: 51
Joined: 6. Oct 2012, 07:10
Location: Tonsberg, Norway
Contact:

minecraft and java

Post by mrstordal »

What are the principles for playing minecraft with Salix, I use the ratpoison edition (though you might wonder why, if I can't even get Minecraft up and running ;-) But I just like the way it works. Ok, I have downloaded the Minecraft package from Alien Bob's slackbuilds, and for Java I have the jre from the Salix repositories. Is that all i need? Or do I need a different java version? And to start playing, do I just write minecraft.jre and hit enter?

I'd be grateful for any help!
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: minecraft and java

Post by mimosa »

Java sometimes doesn't play well with the more unusual WMs. Try wmname (which alloes you to pretend you are using a different WM).

As for the rest, I've never played MInecraft.I'm sure somebody else can help though.
pise
Posts: 6
Joined: 14. Feb 2014, 14:51

Re: minecraft and java

Post by pise »

I think that you downloaded it from here:
http://www.slackware.com/~alien/slackbuilds/minecraft/

Once downloaded, you have to install it (through "installpkg") and then you can run it typing in a terminal (or whereever you want):

Code: Select all

minecraft
--- EDIT ---
Today i tried to play it. When i start the game (after the log in) i get stuck (maybe is my problem).

Then i downloaded the "minecraft.jar" from the official site (https://minecraft.net/download) and i run it with

Code: Select all

java -jar /path/to/minecraft.jar
It worked! I played it without problem...
Last edited by pise on 20. Feb 2014, 13:16, edited 2 times in total.
User avatar
bhyeti
Posts: 14
Joined: 25. Jan 2014, 01:46
Location: Tennessee

Re: minecraft and java

Post by bhyeti »

mimosa wrote:Java sometimes doesn't play well with the more unusual WMs. Try wmname (which alloes you to pretend you are using a different WM).

As for the rest, I've never played MInecraft.I'm sure somebody else can help though.
Minecraft doesn't play well with OpenJDK. You should install Oracle java.

This is a good page for reference:

Code: Select all

http://www.minecraftforum.net/topic/158692-howto-optimize-minecraft-for-linux/
If I remember you have to chmod everything in AlienBOB's package.

Check permissions for the desktop, the shell script, the jar file and the icon in the pixmaps.
User avatar
bhyeti
Posts: 14
Joined: 25. Jan 2014, 01:46
Location: Tennessee

Re: minecraft and java

Post by bhyeti »

P.S.

Check the java folder in the extras section of the Slackware install DVD.
In there, is a generic java Slackbuild which lets you install Oracle jre or jdk.
You just have to download whichever you want and place it in the same folder as the install scripts.
I copied everything off the dvd and placed them in my home folder and ran the install from there.
Post Reply