fabric-loader
fabric-loader copied to clipboard
RuntimeException: Minecraft game provider couldn't locate the game! The game may be absent from the class path, lacks some expected files, suffers from jar corruption or is of an unsupported variety/version.
I made myself a launcher and ran into a problem: Fabric does not start. Error: java.lang.RuntimeException: Minecraft game provider couldn't locate the game! The game may be absent from the class path, lacks some expected files, suffers from jar corruption or is of an unsupported variety/version. at net.fabricmc.loader.impl.launch.knot.Knot.createGameProvider(Knot.java:209) at net.fabricmc.loader.impl.launch.knot.Knot.init(Knot.java:125) at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:71) at net.fabricmc.loader.launch.knot.KnotClient.main(KnotClient.java:28) at launcher.KeEperjeRrYrnh.keepErJErRy6HE(SourceFile:361) at launcher.KeEperjeRrYrnh.main(SourceFile:220)
It seems that your launcher works by adding every jar to the class loader, which didn't cause to update the java.class.path property. Fabric Loader uses this property to find the client.jar. Adding client.jar path to the java.class.path property should fix this, or you can also specify client.jar path with the fabric.gameJarPath property.
Maybe double check your Fabric Jar isn’t empty (0kb). I had that problem today.
👋 We use the issue tracker exclusively for final bug reports and feature requests. However, this issue appears to be better suited for either a discussion thread, or a message on our discord server. Please post your request on one of these, and the conversation can continue there.
So what was the solution and what did you exactly do? I’m having the same issue
So what was the solution and what did you exactly do? I’m having the same issue
If I remember correctly, you have to download the vanilla version of the version of Minecraft you want before you can install Fabric. Hope that helps.