Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not initialize class org.lwjgl.glfw.GLFW #245

Open
4 tasks done
MopsTMC opened this issue Oct 17, 2022 · 2 comments
Open
4 tasks done

Could not initialize class org.lwjgl.glfw.GLFW #245

MopsTMC opened this issue Oct 17, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@MopsTMC
Copy link

MopsTMC commented Oct 17, 2022

Operating System

Linux

Description of bug

The moment minecraft tries to initialise the window, it crashes due to

java.lang.ExceptionInInitializerError
Caused by: java.lang.UnsatisfiedLinkError: Failed to locate library: libglfw.so

crash-2022-10-17_20.58.47-client.txt
Attached file is the crash report when running a modded instance I tried to use, stripped from all the mods

Things I've tried

  • Using system installation of the libraries
  • Installing lwjgl from the package manager
  • Running a bare instance

Steps to reproduce

Run any instance

Suspected cause

I'm pretty sure it's a problem with my setup because no matter the instance I try to run, it always fails to this error

This issue is unique

  • I have searched the issue tracker and did not find an issue describing my bug.
@MopsTMC MopsTMC added the bug Something isn't working label Oct 17, 2022
@MopsTMC
Copy link
Author

MopsTMC commented Oct 17, 2022

Upon some investigation this is definitely not an issue with the launcher but with fabric. Launching the game in any other way does not fail due to missing glfw libraries

@maskersss
Copy link

maskersss commented Nov 24, 2022

Also getting the same issue, except that for me it definitely is an UltimMC issue, and not fabric or anything like that.

Operating System

Linux (amd64) version 5.10.126-std-def-alt1

Description of bug

When trying to launch a completely fresh instance without fabric/forge/..., Minecraft always crashes on every version starting with 1.13 (starting with the first 1.13 snapshot specifically – 17w43a).

Things I've tried

  • Launching a version prior to 1.13 – worked.
  • Reinstalling UltimMC from scratch – didn't help.
  • Installing MultiMC instead – it worked completely fine on the same PC.
  • Copying the instance folder from MultiMC – didn't help.
  • Replacing the "libraries" folder with the one from MultiMC – didn't help.
  • Changing the LWJGL version in an UltimMC instance to a newer one – didn't work, it just gets reset to 3.2.2 build 10.
  • Installing UltimMC on a different Windows PC – worked fine.

Suspected cause

17w43a is the snapshot, in which there were "Game library updates: Upgraded to LWJGL 3.1.2". Since from my understanding of the crash log, the game crash has something to do with glfw, which is in the lwjgl folder in libraries, I'm pretty sure that the issue is somehow related to it.

Crash log: crash-2022-10-10_14.54.33-client.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants