I first try running minecraft using the following command.
java -jar minecraft.jar
It will first let me log in, and if there is an update available it will show me the update loading bar. Then after that, it shows me only a black screen. Here is the output in the terminal:
[[email protected] ~]$ java -jar minecraft.jar
asdf
Exception in thread "Thread-3" java.lang.UnsatisfiedLinkError: /home/brad/.minecraft/bin/natives/liblwjgl.so: /home/brad/.minecraft/bin/natives/liblwjgl.so: wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary1(Unknown Source)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.load0(Unknown Source)
at java.lang.System.load(Unknown Source)
at org.lwjgl.Sys$1.run(Sys.java:69)
at java.security.AccessController.doPrivileged(Native Method)
at org.lwjgl.Sys.doLoadLibrary(Sys.java:65)
at org.lwjgl.Sys.loadLibrary(Sys.java:81)
at org.lwjgl.Sys.<clinit>(Sys.java:98)
at net.minecraft.client.Minecraft.F(SourceFile:1916)
at arj.<init>(SourceFile:20)
at net.minecraft.client.Minecraft.<init>(SourceFile:75)
at ara.<init>(SourceFile:36)
at net.minecraft.client.MinecraftApplet.init(SourceFile:36)
at net.minecraft.Launcher.replace(Launcher.java:136)
at net.minecraft.Launcher$1.run(Launcher.java:79)
Through some Googling, I found this article. He said he launched Minecraft from a script containing the line export LD_LIBRARY_PATH="/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/". However, that directory does not exist on my computer. So instead i tried usingexport LD_LIBRARY_PATH="/usr/lib/jvm/oracle-jre-bin-1.7/lib/amd64". Which gives me the same results in the Minecraft window, but gives me a different output in the terminal:
[[email protected] ~]$ ./startminecraft
asdf
27 achievements
208 recipes
Setting user: resuni, -3491418013861252818
java.io.IOException: Cannot run program "xrandr": error=2, No such file or directory
at java.lang.ProcessBuilder.start(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at org.lwjgl.opengl.XRandR.populate(XRandR.java:66)
at org.lwjgl.opengl.XRandR.access$100(XRandR.java:52)
at org.lwjgl.opengl.XRandR$1.run(XRandR.java:110)
at java.security.AccessController.doPrivileged(Native Method)
at org.lwjgl.opengl.XRandR.getConfiguration(XRandR.java:108)
at org.lwjgl.opengl.LinuxDisplay.init(LinuxDisplay.java:618)
at org.lwjgl.opengl.Display.<clinit>(Display.java:135)
at net.minecraft.client.Minecraft.a(SourceFile:205)
at net.minecraft.client.Minecraft.run(SourceFile:515)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: error=2, No such file or directory
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.<init>(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)
... 13 more
Exception in thread "Minecraft main thread" java.lang.ExceptionInInitializerError
at net.minecraft.client.Minecraft.a(SourceFile:205)
at net.minecraft.client.Minecraft.run(SourceFile:515)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
at org.lwjgl.opengl.XRandR.getConfiguration(XRandR.java:115)
at org.lwjgl.opengl.LinuxDisplay.init(LinuxDisplay.java:618)
at org.lwjgl.opengl.Display.<clinit>(Display.java:135)
... 3 more
I am running Gentoo with the i3 window manager, my uname -a:
[[email protected] ~]$ uname -a
Linux rockstar 3.3.8-gentoo #2 SMP Fri Aug 24 23:21:50 MDT 2012 x86_64 AMD Athlon(tm) 7550 Dual-Core Processor AuthenticAMD GNU/Linux
Hi I had the same problem (black screen, wrong ELF class) and I found this worked for me. I'm running Ubuntu 12.04 64bit.
1. Go to http://lwjgl.org/download.php
2. Click the link to download the newest stable release
3. Download lwjgl-x.x.x.zip (lwjgl-2.8.3.zip at the time of writing)
4. Go to your home folder and press ctrl + h to show your hidden files
5. Go to .minecraft/bin and copy the matching .jar files from the jar folder in the zip that you downloaded into there
6. Copy the .so files from the native/linux folder in the zip file to .minecraft/bin/natives
7. Launch Minecraft
So. I first deleted my entire .minecraft folder and did a clean install on 13.04 with OpenJDK-7-JDK. (MC 1.5.1 Final)
Get message:
java.io.IOException: Cannot run program "xrandr": error=2, No such file or directory
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
at java.lang.Runtime.exec(Runtime.java:615)
at java.lang.Runtime.exec(Runtime.java:483)
at org.lwjgl.opengl.XRandR.populate(XRandR.java:66)
at org.lwjgl.opengl.XRandR.access$100(XRandR.java:52)
at org.lwjgl.opengl.XRandR$1.run(XRandR.java:110)
at java.security.AccessController.doPrivileged(Native Method)
at org.lwjgl.opengl.XRandR.getConfiguration(XRandR.java:108)
at org.lwjgl.opengl.LinuxDisplay.init(LinuxDisplay.java:618)
at org.lwjgl.opengl.Display.<clinit>(Display.java:135)
at net.minecraft.client.Minecraft.a(SourceFile:208)
at avv.a(SourceFile:56)
at net.minecraft.client.Minecraft.run(SourceFile:507)
at java.lang.Thread.run(Thread.java:722)
Caused by: java.io.IOException: error=2, No such file or directory
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.<init>(UNIXProcess.java:135)
at java.lang.ProcessImpl.start(ProcessImpl.java:130)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1021)
... 13 more
Exception in thread "Minecraft main thread" java.lang.ExceptionInInitializerError
at net.minecraft.client.Minecraft.a(SourceFile:208)
at avv.a(SourceFile:56)
at net.minecraft.client.Minecraft.run(SourceFile:507)
at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.NullPointerException
at org.lwjgl.opengl.XRandR.getConfiguration(XRandR.java:115)
at org.lwjgl.opengl.LinuxDisplay.init(LinuxDisplay.java:618)
at org.lwjgl.opengl.Display.<clinit>(Display.java:135)
... 4 more
Then, I install LWJGL 2.8.4:
Get message(After multiple blackscreens on my physical monitor):
2013-04-02 21:02:34 [CLIENT] [INFO] LWJGL Version: 2.8.4
libGL error: failed to load driver: swrast
libGL error: Try again with LIBGL_DEBUG=verbose for more details.
org.lwjgl.LWJGLException: Could not choose GLX13 config
at org.lwjgl.opengl.LinuxDisplayPeerInfo.initDefaultPeerInfo(Native Method)
at org.lwjgl.opengl.LinuxDisplayPeerInfo.<init>(LinuxDisplayPeerInfo.java:61)
at org.lwjgl.opengl.LinuxDisplay.createPeerInfo(LinuxDisplay.java:788)
at org.lwjgl.opengl.DrawableGL.setPixelFormat(DrawableGL.java:61)
at org.lwjgl.opengl.Display.create(Display.java:843)
at org.lwjgl.opengl.Display.create(Display.java:754)
at net.minecraft.client.Minecraft.a(SourceFile:226)
at avv.a(SourceFile:56)
at net.minecraft.client.Minecraft.run(SourceFile:507)
at java.lang.Thread.run(Thread.java:722)
org.lwjgl.LWJGLException: Could not choose GLX13 config
at org.lwjgl.opengl.LinuxDisplayPeerInfo.initDefaultPeerInfo(Native Method)
at org.lwjgl.opengl.LinuxDisplayPeerInfo.<init>(LinuxDisplayPeerInfo.java:61)
at org.lwjgl.opengl.LinuxDisplay.createPeerInfo(LinuxDisplay.java:788)
at org.lwjgl.opengl.DrawableGL.setPixelFormat(DrawableGL.java:61)
at org.lwjgl.opengl.Display.create(Display.java:843)
at org.lwjgl.opengl.Display.create(Display.java:754)
at org.lwjgl.opengl.Display.create(Display.java:736)
at net.minecraft.client.Minecraft.a(SourceFile:235)
at avv.a(SourceFile:56)
at net.minecraft.client.Minecraft.run(SourceFile:507)
at java.lang.Thread.run(Thread.java:722)
What the hell am i supposed to do?? I have tried the same thing with LWJGL versions 2.8.3-2.9.0 with the same result.
It will first let me log in, and if there is an update available it will show me the update loading bar. Then after that, it shows me only a black screen. Here is the output in the terminal:
Through some Googling, I found this article. He said he launched Minecraft from a script containing the line export LD_LIBRARY_PATH="/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/". However, that directory does not exist on my computer. So instead i tried usingexport LD_LIBRARY_PATH="/usr/lib/jvm/oracle-jre-bin-1.7/lib/amd64". Which gives me the same results in the Minecraft window, but gives me a different output in the terminal:
I am running Gentoo with the i3 window manager, my uname -a:
Any help is greatly appreciated!
Info taken from here:
http://forums.fedoraforum.org/showpost.php?p=1562320&postcount=3
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumGet message:
java.io.IOException: Cannot run program "xrandr": error=2, No such file or directory
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
at java.lang.Runtime.exec(Runtime.java:615)
at java.lang.Runtime.exec(Runtime.java:483)
at org.lwjgl.opengl.XRandR.populate(XRandR.java:66)
at org.lwjgl.opengl.XRandR.access$100(XRandR.java:52)
at org.lwjgl.opengl.XRandR$1.run(XRandR.java:110)
at java.security.AccessController.doPrivileged(Native Method)
at org.lwjgl.opengl.XRandR.getConfiguration(XRandR.java:108)
at org.lwjgl.opengl.LinuxDisplay.init(LinuxDisplay.java:618)
at org.lwjgl.opengl.Display.<clinit>(Display.java:135)
at net.minecraft.client.Minecraft.a(SourceFile:208)
at avv.a(SourceFile:56)
at net.minecraft.client.Minecraft.run(SourceFile:507)
at java.lang.Thread.run(Thread.java:722)
Caused by: java.io.IOException: error=2, No such file or directory
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.<init>(UNIXProcess.java:135)
at java.lang.ProcessImpl.start(ProcessImpl.java:130)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1021)
... 13 more
Exception in thread "Minecraft main thread" java.lang.ExceptionInInitializerError
at net.minecraft.client.Minecraft.a(SourceFile:208)
at avv.a(SourceFile:56)
at net.minecraft.client.Minecraft.run(SourceFile:507)
at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.NullPointerException
at org.lwjgl.opengl.XRandR.getConfiguration(XRandR.java:115)
at org.lwjgl.opengl.LinuxDisplay.init(LinuxDisplay.java:618)
at org.lwjgl.opengl.Display.<clinit>(Display.java:135)
... 4 more
Then, I install LWJGL 2.8.4:
Get message(After multiple blackscreens on my physical monitor):
2013-04-02 21:02:34 [CLIENT] [INFO] LWJGL Version: 2.8.4
libGL error: failed to load driver: swrast
libGL error: Try again with LIBGL_DEBUG=verbose for more details.
org.lwjgl.LWJGLException: Could not choose GLX13 config
at org.lwjgl.opengl.LinuxDisplayPeerInfo.initDefaultPeerInfo(Native Method)
at org.lwjgl.opengl.LinuxDisplayPeerInfo.<init>(LinuxDisplayPeerInfo.java:61)
at org.lwjgl.opengl.LinuxDisplay.createPeerInfo(LinuxDisplay.java:788)
at org.lwjgl.opengl.DrawableGL.setPixelFormat(DrawableGL.java:61)
at org.lwjgl.opengl.Display.create(Display.java:843)
at org.lwjgl.opengl.Display.create(Display.java:754)
at net.minecraft.client.Minecraft.a(SourceFile:226)
at avv.a(SourceFile:56)
at net.minecraft.client.Minecraft.run(SourceFile:507)
at java.lang.Thread.run(Thread.java:722)
org.lwjgl.LWJGLException: Could not choose GLX13 config
at org.lwjgl.opengl.LinuxDisplayPeerInfo.initDefaultPeerInfo(Native Method)
at org.lwjgl.opengl.LinuxDisplayPeerInfo.<init>(LinuxDisplayPeerInfo.java:61)
at org.lwjgl.opengl.LinuxDisplay.createPeerInfo(LinuxDisplay.java:788)
at org.lwjgl.opengl.DrawableGL.setPixelFormat(DrawableGL.java:61)
at org.lwjgl.opengl.Display.create(Display.java:843)
at org.lwjgl.opengl.Display.create(Display.java:754)
at org.lwjgl.opengl.Display.create(Display.java:736)
at net.minecraft.client.Minecraft.a(SourceFile:235)
at avv.a(SourceFile:56)
at net.minecraft.client.Minecraft.run(SourceFile:507)
at java.lang.Thread.run(Thread.java:722)
What the hell am i supposed to do?? I have tried the same thing with LWJGL versions 2.8.3-2.9.0 with the same result.
Cannibalism : http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/2326790-cannibalism-mod-pure-code