You are not logged in.

#1 2013-05-24 21:41:15

finale
Member
Registered: 2012-01-16
Posts: 19

[SOLVED] Minecraft doesn't start - black window

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

#2 2013-05-24 22:03:41

LyCC
Member
Registered: 2012-09-05
Posts: 155

Re: [SOLVED] Minecraft doesn't start - black window

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

#3 2013-05-24 22:10:41

finale
Member
Registered: 2012-01-16
Posts: 19

Re: [SOLVED] Minecraft doesn't start - black window

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

#4 2013-05-24 23:00:04

finale
Member
Registered: 2012-01-16
Posts: 19

Re: [SOLVED] Minecraft doesn't start - black window

D'oh! I completely forgot that my home partition was mounted noexec! tongue
It's working now - thanks for your help!

Last edited by finale (2013-05-24 23:01:09)

Offline

Board footer

Powered by FluxBB