Trying to load World of Minecraft Client in Ubuntu
12 replies [Last post]
JusExcon
WoM Member
Members
WoM Member: 121868
WoM Coins: 11

(one note - I have OpenJDK or so, not the official Sun Java)

When i'm trying to load the World of Minecraft client in ubuntu, I have to load it through the terminal. But, I get this error - [: 14: true: unexpected operator
Here is the script in "minecraft-osx.sh"
#!/bin/sh
JAVA=/usr/lib/jvm/java-6-openjdk/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 -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 -Dsun.java2d.noddraw=true -Dsun.awt.noerasebackground=true -Dsun.java2d.d3d=false -Dsun.java2d.opengl=false -Dsun.java2d.pmoffscreen=false -Xmx800M Main
if [ $? -ne 10 ]; then RUN=false; fi
done
Did I do anything wrong? Please reply A.S.A.P.

Doomicide
WoM Member
Members
WoM Member: 163262
WoM Coins: 0
same problem here

same problem here

logystic
WoM Member
Members
WoM Member: 162120
WoM Coins: 0
same problem here.

same problem here. this has happend to  a lot of versions of minecraft i have tried. they either give me a WINE error, or they dont open at all. same for invgrid and all them. invgrid doesnt even open. it installed, but doesnt open. i have SUN java.

logystic
WoM Member
Members
WoM Member: 162120
WoM Coins: 0
bump. PLEASE help

bump. PLEASE help

mmerner
WoM Member
Members
WoM Member: 122481
WoM Coins: 0
1. you have to use sun/oracle

1. you have to use sun/oracle java 1.6. openjdk won't work.

2. make a new file called 'run-linux.sh' 
put this in it: 
#!/bin/sh
java -Xms800M -Xmx800M -classpath .:lib/jinput.jar:lib/lwjgl.jar:lib/lwjgl_util.jar:lib/World of Minecraft.jar:lib/minecraft.jar -Djava.library.path=native/linux Main
and run it.

Doomicide
WoM Member
Members
WoM Member: 163262
WoM Coins: 0
1. I use sun java 1.6 2. when

1. I use sun java 1.6

2. when I run this, I get

Exception in thread "main" java.lang.NoClassDefFoundError: Main
Caused by: java.lang.ClassNotFoundException: Main
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
Could not find the main class: Main.  Program will exit.

mmerner
WoM Member
Members
WoM Member: 122481
WoM Coins: 0
wine is not needed. it will

wine is not needed. it will run natively 

logystic
WoM Member
Members
WoM Member: 162120
WoM Coins: 0
i know this is a stupid

i know this is a stupid mistake, but when i run, i get this:

*fixed*
but now i get this:
*fixed*
NOW, when im in game, and i click to build or destroy, it takes me to the menu (the in game menu). everytime i click, it brings up the menu. any idea?

xxjamesx
WoM Member
Members
WoM Member: 157514
WoM Coins: 0
same

yep happens to everyone

logystic
WoM Member
Members
WoM Member: 162120
WoM Coins: 0
everyone in linux? 

everyone in linux? 

logystic
WoM Member
Members
WoM Member: 162120
WoM Coins: 0
bump

bump

logystic
WoM Member
Members
WoM Member: 162120
WoM Coins: 0
please, help with the mouse

please, help with the mouse issue?

logystic
WoM Member
Members
WoM Member: 162120
WoM Coins: 0
wow, its amazing how much

wow, its amazing how much lack of care there is for linux users, and is the reason why i refuse to pay for minecraft. for all of you who have the same mouse issue, i found this and it works. glad someone couldnt point in the right direction. http://www.worldofminecraft.com/StayFocus