r/PrismLauncher • u/Quaking4spen • 9d 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
u/Available-Squash1021 9d 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.
2
u/Tyrichyrich 9d ago
It's because the libraries were updated due to a security vulnerability and need to be redownloaded
1
u/Ilugin 9d ago edited 9d 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/_KKAAII_ 7d ago
Thanks for this post. I just renamed my files and it works for me now
1
u/Kyrul_6 6d ago
i've reported the bug on github and it has been solved. just clear your metadata and it would work just fine :)
0
u/Kyrul_6 9d ago
i got the same problem too. i thought running it online and then offline again would download it again
0
u/6thehandler7 1d ago
ya hice todo lo que dicen en el hilo, pero ahora me da otro error. Ésto es lo que dice la consola: C:\Users\USER\AppData\Roaming\horizon-launcher\linked-minecraft\libraries\org\lwjgl\lwjgl-freetype\3.4.3\lwjgl-freetype-3.4.3.jar is not the pinned file: expected sha1 d2b12961d44f92860fb1ab501f9c69b7a2975236, got 5f475c76490bb368f235017985d8d9dc6b5b5121
Qué se supone que haga en ese caso?