Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Minecraft for Linux Gentoo
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
Xywa
l33t
l33t


Joined: 23 Jul 2005
Posts: 836
Location: /mnt/Gentoo/

PostPosted: Tue Sep 10, 2013 3:43 pm    Post subject: [SOLVED] Minecraft for Linux Gentoo Reply with quote

Hi,

I am trying to run Minecraft without success.

I have done bellow from this website:
http://minecraft.net/download

Quote:
Minecraft for Linux / Other

Download Minecraft.jar (86 KB). The jar is executable and should work as-is, also please use Oracle's JVM.


and I have this:
Code:
$ ./Minecraft.jar
./Minecraft.jar: line 1: $'PK\003\004': command not found
./Minecraft.jar: line 2: $'\b\b\222t\354B\002': command not found
./Minecraft.jar: line 3: syntax error near unexpected token `)'
K-*��ϳR0�3���M���u�I,.�R�K-����KM.JL+�K��/).)J,�s��x�x�PK'K-.�


Code:
# eselect java-vm list
Available Java Virtual Machines:
  [1]   icedtea-bin-7
  [2]   oracle-jre-bin-1.7  system-vm


Last edited by Xywa on Fri Sep 20, 2013 8:00 am; edited 1 time in total
Back to top
View user's profile Send private message
jvp777
n00b
n00b


Joined: 08 Jul 2013
Posts: 11

PostPosted: Tue Sep 10, 2013 4:44 pm    Post subject: Reply with quote

You should probably play another game. Proprietary software is bad, especially on a Gentoo distro.

Maybe you could try Minetest, it's an open-source clone of Minecraft.
Back to top
View user's profile Send private message
Ant P.
Advocate
Advocate


Joined: 18 Apr 2009
Posts: 2404
Location: UK

PostPosted: Tue Sep 10, 2013 8:34 pm    Post subject: Reply with quote

You're trying to execute a jar file. Have you remembered to set up binfmt_misc to handle it appropriately?
Back to top
View user's profile Send private message
Xywa
l33t
l33t


Joined: 23 Jul 2005
Posts: 836
Location: /mnt/Gentoo/

PostPosted: Wed Sep 11, 2013 10:02 am    Post subject: Reply with quote

Ant P. wrote:
You're trying to execute a jar file. Have you remembered to set up binfmt_misc to handle it appropriately?


Many thanks [SOLVED] I should run it this way:
Code:
java -jar Minecraft.jar




jvp777 wrote:
You should probably play another game. Proprietary software is bad, especially on a Gentoo distro.
Maybe you could try Minetest, it's an open-source clone of Minecraft.


Thanks!
I love free software and I had no idea about Minetest, I will try now as my Minecraft crashes all the time (intel driver), and I cannot try to use it with bumblebed and nvidia drivers, as there are again problems with nvidia and kernel 3.11.0.

Which one is the proper game?
Quote:
* games-action/minetest
Latest version available: 0.4.7
Latest version installed: [ Not Installed ]
Size of files: 2,710 kB
Homepage: http://minetest.net/
Description: An InfiniMiner/Minecraft inspired game
License: LGPL-2.1+ CC-BY-SA-3.0

* games-action/minetest_build
Latest version available: 0.4.6
Latest version installed: [ Not Installed ]
Size of files: 4 kB
Homepage: https://github.com/minetest/build
Description: Building game for the Minetest game engine
License: GPL-2 CC-BY-SA-3.0

* games-action/minetest_common
Latest version available: 0.4.6
Latest version installed: [ Not Installed ]
Size of files: 452 kB
Homepage: https://github.com/minetest/common
Description: Common game content mods, for use in various Minetest games
License: GPL-2 CC-BY-SA-3.0

* games-action/minetest_game
Latest version available: 0.4.7
Latest version installed: [ Not Installed ]
Size of files: 630 kB
Homepage: http://github.com/minetest/minetest_game
Description: The main game for the Minetest game engine
License: GPL-2 CC-BY-SA-3.0

* games-action/minetest_survival
Latest version available: 0.4.6
Latest version installed: [ Not Installed ]
Size of files: 4 kB
Homepage: https://github.com/minetest/survival
Description: Survival game for the Minetest game engine
License: GPL-2 CC-BY-SA-3.0
Back to top
View user's profile Send private message
Yamakuzure
Veteran
Veteran


Joined: 21 Jun 2006
Posts: 1402
Location: Bardowick, Germany

PostPosted: Wed Sep 11, 2013 10:48 am    Post subject: Reply with quote

Xywa wrote:
Which one is the proper game?
Read the descriptions. ;)

(minetest is the game engine, the others are the different content mods for it, with minetest_game described as: "The main game for the Minetest game engine")
_________________
systemd - The biggest fallacies
Back to top
View user's profile Send private message
cj.wijtmans
n00b
n00b


Joined: 14 Sep 2013
Posts: 4

PostPosted: Sat Sep 14, 2013 2:50 pm    Post subject: Reply with quote

the java-overlay has minecraft package.
Back to top
View user's profile Send private message
Xywa
l33t
l33t


Joined: 23 Jul 2005
Posts: 836
Location: /mnt/Gentoo/

PostPosted: Thu Sep 19, 2013 9:29 am    Post subject: Reply with quote

cj.wijtmans wrote:
the java-overlay has minecraft package.


I solved the problem with Minecraft just by not touching anything in CONTROLS settings (for keyboard) - so I have any crashes now and system works pretty well on my 64 bit Gentoo with Nvidia Optimus just by run:
Quote:
$ optirun java -jar Minecraft.jar


Last edited by Xywa on Fri Sep 20, 2013 7:59 am; edited 1 time in total
Back to top
View user's profile Send private message
Xywa
l33t
l33t


Joined: 23 Jul 2005
Posts: 836
Location: /mnt/Gentoo/

PostPosted: Fri Sep 20, 2013 7:57 am    Post subject: Reply with quote

You can increse framerate on laptops with Nvidia Optimus just by using primus instead of optirum (from bumblebee). With max details and far view, I had 40 fps with optirun and 65fps with primus.

Usage:
Code:
$ primusrun java -jar Minecraft.jar



Some more details here:
http://forums.gentoo.org/viewtopic-t-970436.html
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum