TransWikia.com

Minecraft won't load due to problem with liblwjgl32.so on 64 bit Ubuntu

Arqade Asked by MiniEggz on September 19, 2020

I’m quite new to using linux as a general, and I’ve installed minecraft onto my ubuntu machine.

I installed the launcher from the Minecraft.deb on the official website, and then played the game. For a couple of months, the game worked completely fine, but then I went to load it up recently and there is now this error message:

java.lang.ExceptionInInitializerError
    at dka.<init>(SourceFile:143)
    at djw.<init>(SourceFile:426)
    at net.minecraft.client.main.Main.main(SourceFile:177)
Caused by: java.lang.RuntimeException: java.lang.UnsatisfiedLinkError: Failed to locate library: liblwjgl32.so
    at del.<clinit>(SourceFile:46)
    ... 3 more
Caused by: java.lang.UnsatisfiedLinkError: Failed to locate library: liblwjgl32.so
    at org.lwjgl.system.Library.loadSystem(Library.java:147)
    at org.lwjgl.system.Library.loadSystem(Library.java:67)
    at org.lwjgl.system.Library.<clinit>(Library.java:50)
    at org.lwjgl.system.MemoryAccessJNI.<clinit>(MemoryAccessJNI.java:13)
    at org.lwjgl.system.Pointer.<clinit>(Pointer.java:28)
    at org.lwjgl.system.Platform.mapLibraryNameBundled(Platform.java:80)
    at org.lwjgl.glfw.GLFW.<clinit>(GLFW.java:674)
    at sun.misc.Unsafe.ensureClassInitialized(Native Method)
    at java.lang.invoke.DirectMethodHandle$EnsureInitialized.computeValue(DirectMethodHandle.java:330)
    at java.lang.invoke.DirectMethodHandle$EnsureInitialized.computeValue(DirectMethodHandle.java:327)
    at java.lang.ClassValue.getFromHashMap(ClassValue.java:227)
    at java.lang.ClassValue.getFromBackup(ClassValue.java:209)
    at java.lang.ClassValue.get(ClassValue.java:115)
    at java.lang.invoke.DirectMethodHandle.checkInitialized(DirectMethodHandle.java:351)
    at java.lang.invoke.DirectMethodHandle.ensureInitialized(DirectMethodHandle.java:341)
    at java.lang.invoke.DirectMethodHandle.ensureInitialized(DirectMethodHandle.java:373)
    at del.<clinit>(SourceFile:43)
    ... 3 more

I’ve seen a lot about liblwjgl being a problem for a lot of people using 32 bit linux, but I am definitely using 64 bit, and my java version is:

openjdk version "1.8.0_265"
OpenJDK Runtime Environment (build 1.8.0_265-8u265-b01-0ubuntu2~20.04-b01)
OpenJDK 64-Bit Server VM (build 25.265-b01, mixed mode)

The other day, I managed to get minecraft to load by using this command to download lwjgl:

sudo apt-get install -y liblwjgl-java-doc

I tried to do this again, and still I get the same error message as mentioned above.

I tried downloading the lwjgl separately and placing in the minecraft files but this also did not work (http://programster.blogspot.com/2012/08/ubuntu-12-fix-minecraft-blank-screen.html)

Thank you for any help in advance 🙂

Edit:

This is also at the bottom of the report and may be of some use:

Minecraft Version: 1.16.3
    Minecraft Version ID: 1.16.3
    Operating System: Linux (i386) version 5.4.0-45-generic
    Java Version: 1.8.0_261, Oracle Corporation
    Java VM Version: Java HotSpot(TM) Server VM (mixed mode), Oracle Corporation
    Memory: 563144200 bytes (537 MB) / 771751936 bytes (736 MB) up to 2147483648 bytes (2048 MB)
    CPUs: 4
    JVM Flags: 8 total; -Xss1M -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
    Launched Version: 1.16.3
    Backend library: LWJGL version 3.2.2 build 10
    Backend API: ~~ERROR~~ NoClassDefFoundError: Could not initialize class org.lwjgl.glfw.GLFW
    GL Caps: 
    Using VBOs: Yes
    Is Modded: Probably not. Jar signature remains and client brand is untouched.
    Type: Client (map_client.txt)
    CPU: <unknown>

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP