LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: Luckstern on April 06, 2021, 12:48:50

Title: Minecraft keeps throwing and error when launching it in my own launcher
Post by: Luckstern on April 06, 2021, 12:48:50
I'm trying to make my own Minecraft launcher, and it works really well with newer versions. The problem is that older versions, like 1.8.9, keep throwing an error.

ERROR:
Code: [Select]
Exception in thread "main" java.lang.UnsatisfiedLinkError: org.lwjgl.DefaultSysImplementation.getPointerSize()I
at org.lwjgl.DefaultSysImplementation.getPointerSize(Native Method)
at org.lwjgl.Sys.<clinit>(Sys.java:118)
at ave.J(SourceFile:2539)
at net.minecraft.client.main.Main.main(SourceFile:41)

Also, I'm making the launcher in Python, though that isn't the problem as the error is with the getPointerSize() method in LWJGL. One thing is, older versions of Minecraft use LWJGL 2 while newer versions use LWJGL 3, but if I use the normal Minecraft launcher, it works perfectly fine.