Skip to content

LWJGL not found in classpath for early versions #185

@CodeUnderscoreRocker

Description

@CodeUnderscoreRocker

I put this command in the terminal:
python3.11 -m portablemc start a1.1.0
And received a message in the terminal that LWGL couldn't be found! As the launcher normal takes care of the java classpath, I would think this is a bug. I also manually tried adding lwjgl to the classpath env variable to no avail.

Here is the output of that command (with private info taken out):

[  OK  ] Resolved version a1.1.0.
[  OK  ] Loaded version JAR.
[  OK  ] Checked 749 assets.
[  OK  ] Loaded logger.
[  OK  ] Loaded 11 libraries.
[  OK  ] Loaded Mojang Java 8u74.
Oct 27, 2023 12:17:14 PM net.minecraft.launchwrapper.LogWrapper log
INFO: Using tweak class name net.minecraft.launchwrapper.VanillaTweaker
Oct 27, 2023 12:17:15 PM net.minecraft.launchwrapper.LogWrapper log
INFO: Launching wrapped minecraft
28
Turning of ImageIO disk-caching
Loading current icons for window from: /Users/*****************/Library/Application Support/minecraft/assets/virtual/pre-1.6/icons/icon_16x16.png and /Users/******************/Library/Application Support/minecraft/assets/virtual/pre-1.6/icons/icon_32x32.png
javax.imageio.IIOException: Can't read input file!
	at javax.imageio.ImageIO.read(ImageIO.java:1301)
	at net.minecraft.launchwrapper.injector.VanillaTweakInjector.loadIcon(VanillaTweakInjector.java:130)
	at net.minecraft.launchwrapper.injector.VanillaTweakInjector.loadIconsOnFrames(VanillaTweakInjector.java:107)
	at net.minecraft.launchwrapper.injector.VanillaTweakInjector.inject(VanillaTweakInjector.java:94)
	at net.minecraft.client.Minecraft.main(SourceFile:1375)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at net.minecraft.launchwrapper.Launch.launch(Launch.java:57)
	at net.minecraft.launchwrapper.Launch.main(Launch.java:18)
Setting gameDir to: /Users/*************************/Library/Application Support/minecraft
Exception in thread "Minecraft main thread" java.lang.UnsatisfiedLinkError: no lwjgl in java.library.path
	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1864)
	at java.lang.Runtime.loadLibrary0(Runtime.java:870)
	at java.lang.System.loadLibrary(System.java:1122)
	at org.lwjgl.Sys$1.run(Sys.java:73)
	at java.security.AccessController.doPrivileged(Native Method)
	at org.lwjgl.Sys.doLoadLibrary(Sys.java:66)
	at org.lwjgl.Sys.loadLibrary(Sys.java:95)
	at org.lwjgl.Sys.<clinit>(Sys.java:112)
	at org.lwjgl.opengl.Display.<clinit>(Display.java:135)
	at net.minecraft.client.Minecraft.a(SourceFile:148)
	at net.minecraft.client.Minecraft.run(SourceFile:554)
	at java.lang.Thread.run(Thread.java:745)

Metadata

Metadata

Assignees

No one assigned

    Labels

    triageWe are trying to categorize this issue or missing info to do so

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions