Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I get these errors when trying to run minecraft.

ian@ian-Beast:~$ cd ~/.minecraft
ian@ian-Beast:~/.minecraft$ cd /.bin
bash: cd: /.bin: No such file or directory
ian@ian-Beast:~/.minecraft$ cd ./bin
ian@ian-Beast:~/.minecraft/bin$ java -jar 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

Any clues on how to fix?

share|improve this question
    
64bit or 32bit Ubuntu as it seems the 3D driver libraries are crashing –  Meer Borg Mar 8 '13 at 3:33
add comment

3 Answers

Just realized...you are running minecraft directly, you don't run minecraft from the bin directory, you run it from the launcher.

Launcher is located on the minecraft.net site

https://s3.amazonaws.com/MinecraftDownload/launcher/minecraft.jar

Same name, different programs

If that doesn't help refer to the following...

Definitive guide, I have been running Minecraft for a long time now and this guide has shown me a few tricks

How can I install Minecraft?

share|improve this answer
add comment

Install Java 6 runtime and run minecraft.jar using it. This solved the problem for me.

share|improve this answer
add comment

For Minecraft on Linux, I've often found that you have to manually delete and reinstall the lwjgl libraries. This would make sense, because the errors you're getting are referencing lwjgl. Here's a link on how to do that.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.