You are not logged in.
I have installed Minecraft from the AUR, but after logging in it crashes with a black window:
~$ minecraft
asdf
Exception in thread "Thread-3" java.lang.UnsatisfiedLinkError: /home/jon/.minecraft/bin/natives/liblwjgl.so: /home/jon/.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(ClassLoader.java:1939)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1864)
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: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.G(SourceFile:1985)
at awe.<init>(SourceFile:20)
at net.minecraft.client.Minecraft.<init>(SourceFile:76)
at avv.<init>(SourceFile:38)
at net.minecraft.client.MinecraftApplet.init(SourceFile:38)
at net.minecraft.Launcher.replace(Launcher.java:136)
at net.minecraft.Launcher$1.run(Launcher.java:79)
Replacing the included LWJGL resulted in the same error. This is a 64-bit environment with nvidia 319.17-2.
Any ideas? Thanks in advance.
Last edited by finale (2013-05-24 23:03:43)
Offline
Hi,
yes, i had the same issue once, it's java v7 (64 bit) trying to load a 32bit runtime (if i remember right), that's why you get the "wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch)" warning. It's an env. setting, you can do like suggested here (if you use openjdk):
https://bbs.archlinux.org/viewtopic.php?id=145589
for me, with the new openjdk this problem went away a couple of months ago, untill that i used v6 instead.
Last edited by LyCC (2013-05-24 22:07:25)
Offline
Hi LyCC, thanks for your help.
Unfortunately that does not seem to work for me:
~$ export LD_LIBRARY_PATH=/usr/lib/jvm/java-7-openjdk/jre/lib/amd64
~$ java -jar /usr/share/minecraft/minecraft.jar
asdf
Exception in thread "Thread-3" java.lang.UnsatisfiedLinkError: /home/jon/.minecraft/bin/natives/liblwjgl.so: /home/jon/.minecraft/bin/natives/liblwjgl.so: wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch)
[continues]
OpenJDK6 isn't available anymore so I'll try Oracle's jre6 from the AUR.
EDIT: I get the exact same error using Oracle's jre6.
Last edited by finale (2013-05-24 22:43:10)
Offline
D'oh! I completely forgot that my home partition was mounted noexec!
It's working now - thanks for your help!
Last edited by finale (2013-05-24 23:01:09)
Offline