I'm having problems running the client in Linux. I downloaded the client, downloaded minecraft.jar and put it in the lib folder, and set the Java path to /usr/lib/jvm/sun-java-1.6.0.15/jre/bin/java. But when I go to run the minecraft-osx.sh script, nothing happens. Can anyone help?
Guess u forgot to set the link to the native libraries, theyre still pointing at native/macosx .. u will have to change that to native/linux
How many megabytes does it take to download minecraft?
It sounds like you've done a really good job already! Thank you very much for providing us this incredible information.
Great content and
very helpful thank and keep up the good work..I am surely going to pass on
this useful information on the investments and the returns..
BasiCs, you were completely right about that; I never even noticed that native/macosx field. I set the link to native/linux, but it's still not working. I went ahead and looked for an updated Java package, but there wasn't one in any of the Debian repositories.
So I went to the Java website, downloaded the 1.6.0_18 version, and installed that into /home/pidgeot/Downloads/java/jre1.6.0_18.
From there I set the link to Java to /home/pidgeot/Downloads/java/jre1.6.0_18/bin/java (/java being the executable) but that didn't help.
There are several other executables in the same folder: java, java_vm, javaws, keytool, orbd, pack200, policytool, rmid, rmiregistry, servertool, tnameserv, and unpack200. In /home/pidgeot/Downloads/java/jre1.6.0_18/lib there also happens to be an executable called jexec. I have a sneaking suspicion that I'm using the wrong executable or that my install is broken, but I have no real way of knowing.
Any thoughts?
You need to have it use java.exe.
We will surely keep updating and following your thread for more information. It was a nice idea. Keep up the good work.
Linux doesn't have Java.exe, all it has is Java (with no extension) as an executable. Like I said in my previous post, I'm using the /bin/Java executable, which may or may not be the main java executable and/or the equivalent of java.exe on windows. Basically I'm pretty clueless at this point. By the way, do I need to remove the # symbol in the first line of minecraft-osx.sh?
Do not modify minecraft-osx.sh.
http://www.worldofminecraft.com/node/830
theres help pointing to java there
also you'll need to use the focus hack if you get it to work
kapsas, thank you for that link! I copied the script there and it (finally) worked. Again, thanks for all the help and support.
i've modified the script, now it's working here (ubuntu 9.04)
#!/bin/sh
JAVA=/usr/lib/jvm/java-6-sun/jre/bin/java
DIR=echo $0 | sed -E 's/\/[^\/]+$/\//' if [ "X$0" != "X$DIR" ]; then cd $DIR fi
RUN=true while [ $RUN == "true" ]; do $JAVA -Xms800M -Xmx800M -classpath skin:lib/jinput.jar:lib/lwjgl.jar:lib/lwjgl_util.jar:lib/World of Minecraft.jar:lib/minecraft.jar -Djava.library.path=native/macosx Main if [ $? -ne 10 ]; then RUN=false; fi done
perhaps you have to change your path...
I just upgraded to the latest ubuntu and got it running finally had some trouble with java but working now.
I have a problem the the GUI is unresponsive. Some times I can only enter my username and then it freezes, but most times it doesn't work the entire time.
WoM Coins: 20
First off, try updating Java, you are using a fairly older version.