mojira.dev
MC-3090

Unable to play game unless LWJGL is manually replaced

If I delete ~/.minecraft, start the client, enter my login credentials and click login; The window turns black and stays that way. In other words: The game doesn't start and I am unable to play it.

The problem seems to be LWJGL which is resolved if I replace it manually, with an updated version, in the bin folder. This also fixes stuck key issues that makes serious gameplay impossible. I've heard the problem is that Mac OS X bugs out if it's updated, but wouldn't it be possible to download different versions depending on OS?

Here's the console output:

ante@Balthazar:~$ mv .minecraft/ .mc
ante@Balthazar:~$ XMODIFIERS= java -jar minecraft.jar
java.io.FileNotFoundException: /home/ante/.minecraft/lastlogin (Filen eller katalogen finns inte)
	at java.io.FileInputStream.open(Native Method)
	at java.io.FileInputStream.<init>(FileInputStream.java:138)
	at net.minecraft.LoginForm.readUsername(LoginForm.java:131)
	at net.minecraft.LoginForm.<init>(LoginForm.java:76)
	at net.minecraft.LauncherFrame.<init>(LauncherFrame.java:30)
	at net.minecraft.LauncherFrame.main(LauncherFrame.java:158)
	at net.minecraft.MinecraftLauncher.main(MinecraftLauncher.java:13)
Exception in thread "Thread-3" java.lang.UnsatisfiedLinkError: /home/ante/.minecraft/bin/natives/liblwjgl.so: /home/ante/.minecraft/bin/natives/liblwjgl.so: fel ELF-klass: 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.F(SourceFile:1975)
	at asr.<init>(SourceFile:20)
	at net.minecraft.client.Minecraft.<init>(SourceFile:75)
	at asi.<init>(SourceFile:36)
	at net.minecraft.client.MinecraftApplet.init(SourceFile:36)
	at net.minecraft.Launcher.replace(Launcher.java:143)
	at net.minecraft.Launcher$1.run(Launcher.java:87)
ante@Balthazar:~$ XMODIFIERS= java -jar minecraft.jar
Exception in thread "Thread-3" java.lang.UnsatisfiedLinkError: /home/ante/.minecraft/bin/natives/liblwjgl.so: /home/ante/.minecraft/bin/natives/liblwjgl.so: fel ELF-klass: 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.F(SourceFile:1975)
	at asr.<init>(SourceFile:20)
	at net.minecraft.client.Minecraft.<init>(SourceFile:75)
	at asi.<init>(SourceFile:36)
	at net.minecraft.client.MinecraftApplet.init(SourceFile:36)
	at net.minecraft.Launcher.replace(Launcher.java:143)
	at net.minecraft.Launcher$1.run(Launcher.java:87)

Related issues

Comments

CubeTheThird

Unfortunately this really isn't the place to post this, and should be posted on the MC forums here.

Antennen

How can this not be the right place? The game is unplayable (doesn't even start) out of the box on the supported platform Linux. Please explain why this isn't a bug?

Ezekiel

I agree with the OP, this is a bug report, not a feature request. CubeTheThird, can you explain?

CubeTheThird

I am not suggesting that this issue is a feature request. The version of LWJGL currently packaged with Minecraft is considered to be overall stable, which unfortunately means an update is required for linux. However, newer versions have shown to cause problems on other operating systems, and thus a newer version will not be packaged until issues are resolved. The fact that it is relatively easy to fix on linux systems also supports this. What you should suggest as a feature, as you indicated, is packaging different versions depending on the operating system. I agree this is a good idea for stability reasons, but that in itself is a request, hence posting it on the forums instead of here.

EvilSeph (Warren Loo)

Personally I feel that this is possibly a bug report, but falls more under the realm of "troubleshooting and support" than that of a "bug report" and so I agree with the resolution of 'invalid'. Furthermore, I can somewhat agree with CubeTheThird's rationale that you could go and submit a feature request to the Minecraft forums for the related reason he's explained above, however I also understand the confusion this suggestion has caused since it doesn't directly relate to this issue but is rather a possible solution moving forward.

That being said, I feel that CubeTheThird's decision to Resolve this as Invalid is the correct decision and that further discussion on this topic should be moved over to a help request on the Minecraft Forums where the community can help you troubleshoot and investigate the issue.

I hope this clears everything up for you and everyone else!

Antennen

I have since reported this updated to Ubuntu 12.10 (64 bit) Gnome remix. Once again I have Oracle Java 7 installed from the Webupd8 PPA. I am able to recreate this 100%. My reason for reporting was the concern that it affected all Linux users. I guess users that use the PPA can recreate this.

I was upset this was closed without a second thought, and for no apparent reason. I have since not been able to find anyone else with the same issue. I brought it up on Reddit a couple of days ago.

As far as I'm concerned this is a legit bug report, but I am not as concerned about its severity anymore since there doesn't seem to be that many affected by it.

Thue

Minecraft is crashing. And would not crash if the Linux version was updated with a never version of LWJGL. Which Mojang could easily do. Saying that this is a "troubleshooting and support" request and not a bug report is absurd. When Mojang is integrating and distributing LWJGL as p0art of their game, LWJGL bugs and using the right version of LWJGL becomes Mojang's problem.

FSA

Confirm. Minecraft 1.4.5. Gentoo Linux:
Linux fsa-mobile 3.6.8-gentoo #1 SMP Tue Nov 27 12:54:36 YEKT 2012 x86_64 AMD Athlon(tm) X2 Dual-Core QL-65 AuthenticAMD GNU/Linux

fsa@fsa-mobile ~/Games $ java -jar minecraft.jar
Exception in thread "Thread-3" java.lang.UnsatisfiedLinkError: /home/fsa/.minecraft/bin/natives/liblwjgl.so: /home/fsa/.minecraft/bin/natives/liblwjgl.so: неправильный класс ELF: 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.F(SourceFile:1975)
at asr.<init>(SourceFile:20)
at net.minecraft.client.Minecraft.<init>(SourceFile:75)
at asi.<init>(SourceFile:36)
at net.minecraft.client.MinecraftApplet.init(SourceFile:36)
at net.minecraft.Launcher.replace(Launcher.java:134)
at net.minecraft.Launcher$1.run(Launcher.java:78)

kumasasa

The execption

Exception in thread "Thread-3" java.lang.UnsatisfiedLinkError: /home/fsa/.minecraft/bin/natives/liblwjgl.so: /home/fsa/.minecraft/bin/natives/liblwjgl.so: неправильный класс ELF: ELFCLASS32 (Possible cause: architecture word width mismatch)

is neither a Minecraft nor a LWJGL issue, it's just a configuration issue because the 32bit version of the native libraries are loaded instead of the 64bit versions and can be fixed by adding

export LD_LIBRARY_PATH="/opt/java/jre/lib/amd64"

to rc.local or .bashrc or whatever.

CubeTheThird

Note that the path may vary depending on how java is installed.

Thue

The fact that this "invalid" bug was fixed shows that it was not invalid in the first place. IMO the mods should be more careful with the "invalid" tag.

Antennen

(Unassigned)

Unconfirmed

crash

Minecraft 1.4.4

Snapshot 13w16a

Retrieved