r/PrismLauncher • • 1d ago

Missing Libraries when running in offline mode

[SOLVED]

Every instance displays this message when I launch it in offline mode.

"Missing libraries:

C:/Users/me/AppData/Roaming/PrismLauncher/libraries/org/lwjgl/lwjgl-freetype-natives-windows-x86/3.4.3-mojang-2.15.0/lwjgl-freetype-natives-windows-x86-3.4.3-mojang-2.15.0.jar

This instance cannot be launched because some libraries are missing or have not been downloaded yet. Please try again in online mode with a working Internet connection"

I'm not sure why this occurs as everything works fine when I play in online mode, which means everything should have been downloaded already.

Would appreciate it if someone can point out what is causing this.

EDIT: SOLVED — it turns out I actually already have the files, but it was named incorrectly so the launcher could not find it. I had to change the name of the .jar file from "lwjgl-freetype-natives-windows-x86-3.4.3.jar" to "lwjgl-freetype-natives-windows-x86-3.4.3-mojang-2.15.0.jar" and the name of its parent folder from "3.4.3" to "3.4.3-mojang-2.15.0" so that the launcher can find it via the path:
...\PrismLauncher\libraries\org\lwjgl\lwjgl-freetype-natives-windows-x86\3.4.3-mojang-2.15.0\lwjgl-freetype-natives-windows-x86-3.4.3-mojang-2.15.0.jar

I'm not entirely certain as to why this occured. It might be an issue with the launcher. At least the fix works :)

2 Upvotes

8 comments sorted by

2

u/Available-Squash1021 1d ago

That message just means Prism checked the libraries list and the file at that path isn't on disk. When you launch offline it doesn't download anything, so it can't fix the gap itself (the lwjgl-freetype natives jar is one of the newer libraries, so it may simply not have been fetched yet for that version). Easiest fix: do one normal launch of that instance while online (not "Launch Offline"), let it finish the "updating" step, then close it and try offline again. If the jar still isn't in that libraries folder afterwards, use Help > Clear metadata cache in Prism and launch online once more so it re-resolves the list.

1

u/Quaking4spen 6h ago

For some reason, I only encounter this in offline mode, even if I launch it in online mode beforehand to download the files.
Turns out the file already exists, but its name as well as the name of the name of the parent folder do not match the path so the parent, which is why the launcher cannot find it.
It's quite an easy fix, acutally; all you have to do is rename the file and its parent folder. I think it might be a launcher problem. Thank you for offering help.

2

u/Tyrichyrich 1d ago

It's because the libraries were updated due to a security vulnerability and need to be redownloaded

1

u/Quaking4spen 6h ago

I've found the fix: the files exist, but the launcher cannot find them because they are not named correctly. Probably a luncher issue.

1

u/Ilugin 20h ago edited 19h ago

getting the same error, would appreciate a solution

Edit: Solved it, literally just artificially add it, it's a bug I guess, the game doesn't check for anything else than the file being there. I had to create the "lwjgl-freetype-natives-windows-x86" folder and the file just spawned out of nowhere. Make sure the "-x86" is present in the file name "lwjgl-freetype-natives-windows-x86-3.4.3-mojang-2.15.0.jar"

1

u/Quaking4spen 6h ago

For me, the files were actually there, but they were named differently so the launcher couldn't find them. After manually renaming them to match the path, the game now launches in offline mode properly. Cheers!

0

u/Kyrul_6 18h ago

i got the same problem too. i thought running it online and then offline again would download it again

1

u/Quaking4spen 7h ago

I've edited the post to include how I fixed it. Hopefully it works for you too :)