I’ve been searching forums and search-engine results for hours trying to get minecraft (v1.5.2) to work in openSusee 12.3.
This is the error I get in the terminal when running java -jar /home/margun/Downloads/minecraft.jar
Exception in thread "main" java.lang.NoClassDefFoundError: org/lwjgl/LWJGLException
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2451)
at java.lang.Class.getMethod0(Class.java:2694)
at java.lang.Class.getMethod(Class.java:1622)
at sun.launcher.LauncherHelper.getMainMethod(LauncherHelper.java:494)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:486)
Caused by: java.lang.ClassNotFoundException: org.lwjgl.LWJGLException
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
... 6 more
java -version yields
java version "1.7.0_17"
OpenJDK Runtime Environment (IcedTea7 2.3.8) (suse-8.8.1-x86_64)
OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)
I do have an openSuse 12.2 computer (my son’s) running IcedTea7 and minecraft works on it. I wish I could remember what I did to get that working. I’ve tried updating the lwjgl’s in the /bin and /bin/natives to what’s on the working machine and to the latest version (v2.9) as well as version 2.8.4.
If anyone has any input I would very much appreciate it.
Should I install and switch to opensource drivers?
No, that wouldn’t help. “java.lang.NoClassDefFoundError: org/lwjgl/LWJGLException” means java doesn’t find the lwjgl extension.
But after googling some more, it seems that minecraft has problems with OpenJDK as included in openSUSE.
You could try installing Sun Java from here instead: Java SE Downloads. This is also recommended on minecraft’s homepage btw:
Download minecraft.jar (89 KB). The jar is executable and might work as-is. If you run into memory issues, try launching it with java -Xmx1024M -Xms512M -cp minecraft.jar net.minecraft.LauncherFrame,** also please use Sun’s JVM.**
That said, I just tried to run the launcher and it seems to work fine here on my 12.3 system with OpenJDK: http://susepaste.org/images/39331168.png
Or does it crash later on? I haven’t tried further, since I don’t have an account…
I don’t even get to that screen. I get the error when in the command line when trying to run the game via command line. Although I have read of others having problems (black screen, etc) after logging in.
That said, I just tried to run the launcher and it seems to work fine here on my 12.3 system with OpenJDK:
What version of OpenJDK are you using? I’m on IcedTea7. I’m thinking that in the past I got this working by switching to IcedTea6. I’ll try installing Sun’s version but I don’t think it will work since you have it working with OpenJDK (assuming you’re on IT-7).
Thanks again for helping me with this!
Haha, well I just printed off and signed my very own ID-10T form!
I looked at another recent thread on minecraft and openSuse and realized my problem.
The game runs and opens normally with the default install of OpenJDK (IcedTea7 2.3.8, java 1.7.0_17).
The above post notes that there is a difference in the two minecraft.jar files (one is downloaded from minecraft.net and the other is created in userland upon executing the former). I simply downloaded a fresh copy of minecraft.jar from the website and executed that (after marking it as executable). I’m not sure exactly what happened the first time around but I ended up trying to execute a broken version of the file in ~/.minecraft/bin. It seems that executing the original fixed it.
Thanks for your time and efforts to all who’ve posted here. I hope it helps others!
Haha, well I just printed off and signed my very own ID-10T form!
I looked at another recent thread on minecraft and openSuse and realized my problem.
The game runs and opens normally with the default install of OpenJDK (IcedTea7 2.3.8, java 1.7.0_17).
The above post notes that there is a difference in the two minecraft.jar files (one is downloaded from minecraft.net and the other is created in userland upon executing the former). I simply downloaded a fresh copy of minecraft.jar from the website and executed that (after marking it as executable). I’m not sure exactly what happened the first time around but I ended up trying to execute a broken version of the file in ~/.minecraft/bin. It seems that executing the original fixed it.
Thanks for your time and efforts to all who’ve posted here. I hope it helps others!
Haha, well I just printed off and signed my very own ID-10T form!
I looked at another recent thread on minecraft and openSuse and realized my problem.
The game runs and opens normally with the default install of OpenJDK (IcedTea7 2.3.8, java 1.7.0_17).
The above post notes that there is a difference in the two minecraft.jar files (one is downloaded from minecraft.net and the other is created in userland upon executing the former). I simply downloaded a fresh copy of minecraft.jar from the website and executed that (after marking it as executable). I’m not sure exactly what happened the first time around but I ended up trying to execute a broken version of the file in ~/.minecraft/bin. It seems that executing the original fixed it.
Thanks for your time and efforts to all who’ve posted here. I hope it helps others!