You are not logged in.
Upgraded to the latest jre/jdk today, and just a while ago I tried running minecraft and got an exception. I can post the whole error message later, but basically it seems that the lwjgl library binaries are (for some reason) incompatible. Is anyone else having this issue?
Offline
Maybe you need to rebuild lwjgl.
Offline
Tried it, didn't help. I see in my ~/.minecraft/bin/natives directory there are both 32- and 64-bit versions of lwjgl, but the error message mentions the 32-bit one, and I'm on a 64-bit OS. Shouldn't the jre load the 64-bit one? Maybe there's a problem with the package?
Offline
OK, so I replaced the 32-bit library with the 64-bit one from the AUR (not whichever Minecraft downloads for you.) This gave me another error about not finding libjawt.so, which is in a subdirectory of /opt/java! So I added the path to LD_LIBRARY_PATH, and now the game launches, but when I attempt to play either multi- or single-player, the escape menu comes up and the "Back" button won't work, so I can't actually play. At least it's progress.
Offline
Getting the same thing with today's jre 7 packages. I've rebuilt lwjgl as well and now run into the libjawt problem. Here's the ldd on lwjgl and libjawt:
$ ldd bin/lwjgl/liblwjgl64.so
linux-vdso.so.1 => (0x00007fffacdff000)
libm.so.6 => /lib/libm.so.6 (0x00007fe998a2b000)
libX11.so.6 => /usr/lib/libX11.so.6 (0x00007fe9986ec000)
libXext.so.6 => /usr/lib/libXext.so.6 (0x00007fe9984d9000)
libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0x00007fe9982cf000)
libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0x00007fe9980c7000)
libXxf86vm.so.1 => /usr/lib/libXxf86vm.so.1 (0x00007fe997ec1000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00007fe997ca4000)
libjawt.so => not found
libc.so.6 => /lib/libc.so.6 (0x00007fe997942000)
libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007fe997727000)
libdl.so.2 => /lib/libdl.so.2 (0x00007fe997523000)
libXrender.so.1 => /usr/lib/libXrender.so.1 (0x00007fe997318000)
libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0x00007fe997112000)
/lib/ld-linux-x86-64.so.2 (0x00007fe998f7d000)
libXau.so.6 => /usr/lib/libXau.so.6 (0x00007fe996f10000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007fe996d0a000)
ldd /opt/java/jre/lib/amd64/libjawt.so
linux-vdso.so.1 => (0x00007fff8b7ad000)
libawt.so => /opt/java/jre/lib/amd64/libawt.so (0x00007f9c8
libmawt.so => not found
libjava.so => /opt/java/jre/lib/amd64/libjava.so (0x00007f9
libjvm.so => not found
libc.so.6 => /lib/libc.so.6 (0x00007f9c801a8000)
libjvm.so => not found
libm.so.6 => /lib/libm.so.6 (0x00007f9c7ff25000)
libdl.so.2 => /lib/libdl.so.2 (0x00007f9c7fd21000)
libjvm.so => not found
libverify.so => /opt/java/jre/lib/amd64/libverify.so (0x000
/lib/ld-linux-x86-64.so.2 (0x00007f9c80c5c000)
libjvm.so => not found
LD_LIBRARY_PATH:
/opt/java/:/home/jeff/GNUstep/Library/Libraries:/usr/lib
I got around the ELFCLASS errors by copying the *64 libs over the libs without such a suffix (so both libs are now the 64-bit libs).
Offline
Please see https://bugs.archlinux.org/task/25305
Offline
Same results here, Minecraft crashing and not working using both jre 7-1 and 7-2.
Last edited by ejmarkow (2011-07-29 07:53:39)
Offline
my log with jre7-2 and lwjgl 2.7.1:
Exception in thread "Minecraft main thread" java.lang.UnsatisfiedLinkError: /home/maho/.minecraft/bin/natives/liblwjgl.so: libjawt.so: cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1928)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1825)
at java.lang.Runtime.load0(Runtime.java:792)
at java.lang.System.load(System.java:1059)
at org.lwjgl.Sys$1.run(Sys.java:70)
at java.security.AccessController.doPrivileged(Native Method)
at org.lwjgl.Sys.doLoadLibrary(Sys.java:66)
at org.lwjgl.Sys.loadLibrary(Sys.java:82)
at org.lwjgl.Sys.<clinit>(Sys.java:99)
at org.lwjgl.opengl.Display.<clinit>(Display.java:130)
at net.minecraft.client.Minecraft.a(SourceFile:244)
at net.minecraft.client.Minecraft.run(SourceFile:716)
at java.lang.Thread.run(Thread.java:722)
Offline
I can confirm the same problems on my x86_64-machine with jre 7-1 and the lwjgl downloaded by Minecraft.
Offline
Offline
Offline
Bug report filed by Revenge of The Titans Developer at lwjgl.org
Offline
Everyone: please try saying "sudo ldconfig /opt/java/jre/lib/amd64/" and then running Minecraft/other LWJGL games and post back here with results. It seems to fix the problem for me.
Offline
cookiecaper, that gets minecraft to run, but when I continue a game I'm immediately taken to the pause menu, and clicking "Back to game" just makes the text "Saving level" appear in the lower left corner.
Offline
I've always run minecraft with openjdk6, with very good success - though that might not be the case for everyone i bet.
From about version 1.3 to 1.7.3 as of today: http://prep.mine.nu/minecraft/screens/index.html
I have an Nvidia 570 gtx570 (and an i5 2500k, though that is probably not important)
Last edited by PReP (2011-07-30 14:33:43)
. Main: Intel Core i5 6600k @ 4.4 Ghz, 16 GB DDR4 XMP, Gefore GTX 970 (Gainward Phantom) - Arch Linux 64-Bit
. Server: Intel Core i5 2500k @ 3.9 Ghz, 8 GB DDR2-XMP RAM @ 1600 Mhz, Geforce GTX 570 (Gainward Phantom) - Arch Linux 64-Bit
. Body: Estrogen @ 90%, Testestorone @ 10% (Not scientific just out-of-my-guesstimate-brain)
Offline
I'm getting similar problems too. I'm running 32bit and minecraft just blackscreens after login. Downgrading to jre6 fixed it.
Offline
Verifying that PReP's recommendation of using openjdk6 works perfectly. Played for about 40 minutes with no problems. Running Arch 32bit.
Offline
Is there a server I could join to test? Minecraft crashes for me by creating a world in singleplayer and the server I found was offline, it seems.
Offline
I'm on 32bit Arch and also had the libjawt.so/blackscreen error after update to jdk7..
LD_LIBRARY_PATH="/opt/java/jre/lib/i386" java -jar minecraft.jar
works fine for me...
Offline
Everyone: please try saying "sudo ldconfig /opt/java/jre/lib/amd64/" and then running Minecraft/other LWJGL games and post back here with results. It seems to fix the problem for me.
That fixed it for me (x86_64). Thanks!
Edit:
Nvm, I'm not able to get out of the pause menu, either :S
Last edited by k3ttc4r (2011-08-01 02:17:12)
Offline
I'm on 32bit Arch and also had the libjawt.so/blackscreen error after update to jdk7..
LD_LIBRARY_PATH="/opt/java/jre/lib/i386" java -jar minecraft.jar
works fine for me...
That is also working fine for me, with no other issues. Thank you.
Offline
I can get past the pause screen only while fullscreen.
Offline
This bug is fixed in the nighties of LWJGL.
http://lwjgl.org/forum/index.php/topic,4085.0.html
Still have to wait until it ships with the next release of LWJGL and notch updates his libs...
Offline
You don't have to actually wait, just replace the relevant files in ~/.minecraft/bin and ~/.minecraft/bin/native
Edit: This is actually not working for me as I anticipated. Throws a bunch of exceptions.
Last edited by ryanklee (2011-08-07 06:35:46)
Offline
for me it crashes even with openjdk
specs:
i3 350m
ati mobility hd5145 with catalyst driver
Minecraft has crashed!
----------------------
Minecraft has stopped running because it encountered a problem.
If you wish to report this, please copy this entire text and email it to support@mojang.com.
Please include a description of what you did when the error occured.
--- BEGIN ERROR REPORT a1dce528 --------
Generated 8/8/11 7:58 PM
Minecraft: Minecraft Beta 1.7.3
OS: Linux (amd64) version 3.0-ARCH
Java: 1.6.0_22, Sun Microsystems Inc.
VM: OpenJDK 64-Bit Server VM (mixed mode), Sun Microsystems Inc.
LWJGL: 2.7.1
[failed to get system properties (java.lang.NullPointerException)]
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:759)
at org.lwjgl.opengl.DrawableGL.setPixelFormat(DrawableGL.java:57)
at org.lwjgl.opengl.Display.create(Display.java:897)
at org.lwjgl.opengl.Display.create(Display.java:808)
at org.lwjgl.opengl.Display.create(Display.java:769)
at org.lwjgl.opengl.Display.create(Display.java:790)
at net.minecraft.client.Minecraft.a(SourceFile:294)
at net.minecraft.client.Minecraft.run(SourceFile:716)
at java.lang.Thread.run(Thread.java:679)
--- END ERROR REPORT eb7fb3c0 ----------
Last edited by lamiska (2011-08-08 17:59:43)
Offline