Minecraft keeps throwing and error when launching it in my own launcher

Started by Luckstern, April 06, 2021, 12:48:50

Previous topic - Next topic


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.

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.