Skip to content
This repository was archived by the owner on Apr 2, 2026. It is now read-only.
This repository was archived by the owner on Apr 2, 2026. It is now read-only.

Required function missing: glfwInitAllocator #70

Description

@coltont623

Ive tried to apply the patches from this repo with successful installation, and tried this: #54. I also manually specified the SO files in my jvm arguments and Prism Launcher. Tried in Vanilla and NeoForge.

java.lang.NoClassDefFoundError: Could not initialize class org.lwjgl.glfw.GLFW$Functions
	at org.lwjgl.glfw.GLFW.glfwGetPlatform(GLFW.java:1340)
	at fni.a(SourceFile:129)
	at ae.a(SourceFile:70)
	at fue.a(SourceFile:2459)
	at fue.a(SourceFile:2431)
	at net.minecraft.client.main.Main.main(SourceFile:258)
	at org.prismlauncher.launcher.impl.StandardLauncher.launch(StandardLauncher.java:105)
	at org.prismlauncher.EntryPoint.listen(EntryPoint.java:129)
	at org.prismlauncher.EntryPoint.main(EntryPoint.java:70)
Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.NullPointerException: A required function is missing: glfwInitAllocator [in thread "Render thread"]
	at org.lwjgl.system.APIUtil.requiredFunctionMissing(APIUtil.java:145)
	at org.lwjgl.system.APIUtil.apiGetFunctionAddress(APIUtil.java:139)
	at org.lwjgl.glfw.GLFW$Functions.<clinit>(GLFW.java:42)
	at org.lwjgl.glfw.GLFW.nglfwGetError(GLFW.java:1251)
	at org.lwjgl.glfw.GLFW.glfwGetError(GLFW.java:1280)
	at fni.a(SourceFile:154)
	at com.mojang.blaze3d.platform.GLX._initGlfw(SourceFile:44)
	at com.mojang.blaze3d.systems.RenderSystem.initBackendSystem(SourceFile:236)
	at fue.<init>(SourceFile:506)
	at net.minecraft.client.main.Main.main(SourceFile:249)
	... 3 more
Exiting with ERROR
Process exited with code 2.
Clipboard copy at: 13 Aug 2025 16:02:17 +0000

MC 1.20.1 Prism Launcher, Arch Linux Linux-Zen Kernel Wayland + KDE Plasma
Intel CPU + iGPU, latest MESA drivers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions