Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 10-13-2013, 05:36 PM   #1
Registered: Sep 2005
Distribution: Arch
Posts: 210

Rep: Reputation: 39
Minecraft on Stable (Wheezy)

Probably a dumb question but I can't find anything about this on google.

I have the latest Minecraft.jar file and when I try to open it it opens as an archive. So go to modify what it is opened with. Runtime isn't an option anywhere. JRE 6 was installed by default, I installed 7 as well. But neither is on the available programs list to launch it with. How to run Minecraft on Debian. I'm sure it is something simple I am missing.
Old 10-13-2013, 05:43 PM   #2
Registered: Sep 2005
Distribution: Arch
Posts: 210

Original Poster
Rep: Reputation: 39
Just now figured out how to launch it manually from Open With in the dialog. But how do I set default to use runtime instead of archive or iced tea
Old 10-13-2013, 06:33 PM   #3
Senior Member
Registered: Oct 2008
Distribution: Debian Jessie / sid
Posts: 1,471

Rep: Reputation: 444Reputation: 444Reputation: 444Reputation: 444Reputation: 444
below is a script I used to use
I have commented out ( but not tested ) the ps3 controller bits I used.

essentially has two modes, online and offline

You get the login screen Steve
you play offline , playername Steve ( skips the normal login screen )

#TODO add some magic to manage .minecraft, plus manage versions and mods

Sixad () {
sudo service bluetooth stop
sudo /etc/init.d/sixad start
# Sixaxis Deamon
#ps -e | grep -q sixad || Sixad
#pidof $autokey || coproc $autokey
### above commented out for LQ posting
# sixad is a driver for ps3 controller
# autokey monitors 'events' I use it to map mouse wheel events to the ps3 controller
# ( by mapping 'dead keys' F20 and F21 ) to keys on the PS3Controller.
# when autokey 'sees' these it sends a mouse wheel up/down

Online () {
# MineCraft
pidof minecraft.jar || \
    coproc java -Xmx${JavaMem}M \
                -Xms$(( ${JavaMem} / 2))M \
                -cp $Minecraft/minecraft.jar \
Offline () {
pushd $Minecraft
   pidof minecraft.jar || \
    coproc java -Xmx${JavaMem}M -Xms$(( {JavaMem} / 2))M \
         -cp $Minecraft/bin/minecraft.jar:$Minecraft/bin/lwjgl.jar:\
             $Minecraft/bin/jinput.jar: \
         -Djava.library.path=$Minecraft/bin/natives net.minecraft.client.Minecraft $MCUSERNAME
if [ "$#" != "0" ];
    #if [ "$1" == "-r" ];
        # sudo /etc/init.d/sixad stop
        # sudo /etc/init.d/sixad start
        # MCUSERNAME=$2
    #fi # commented out for LQ post
        # sometimes sixad would 'die' ( if left inactive ) so was just a quick hack to restart it
save as ~/bin/
and in terminal
chmod 700 ~/bin/
the chmod is only needed the once, in future just [PlayerName]

you might want to tweak JavaMem=1024 ( max 1GB memory, and starts with half (512MB) )


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: GOL MineCraft Weekly. Grab Issue 2 Today, Linux Minecraft server LXer Syndicated Linux News 0 08-04-2013 12:41 PM
[SOLVED] Debian ustable, and stable release of Wheezy kox444 Debian 17 05-16-2013 10:25 AM
[SOLVED] Wheezy (stable) DVD video jitters kel_en Debian 4 05-12-2013 04:10 PM
tar.gz of a gnome-panel more stable for debian stable :lol frenchn00b Debian 4 05-07-2008 11:32 AM
how can i upgrade my squid 2.5 stable 1 to stable 3 in RH9? debloxie Linux - Networking 0 05-12-2004 09:49 PM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 06:34 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration