Fabric API

Fabric API

106M Downloads

Unable to launch the game

luketeam5 opened this issue · 4 comments

commented

When starting the game I get an error:
image
And error:

[21:27:47] [main/FATAL]: A critical error occurred
net.fabricmc.loader.discovery.ModResolutionException: Errors were found!
 - Mod 'Minecraft' (minecraft) requires version 16 or later of mod 'Java HotSpot(TM) 64-Bit Server VM' (java), but a non-matching version is present: 8!
	 - You must install version 16 or later of 'Java HotSpot(TM) 64-Bit Server VM' (java).
	 - Mod 'Java HotSpot(TM) 64-Bit Server VM' (java) v8 is being loaded from the user's mod directory.
	at net.fabricmc.loader.discovery.ModResolver.findCompatibleSet(ModResolver.java:342) ~[fabric-loader-0.11.6.jar:?]
	at net.fabricmc.loader.discovery.ModResolver.resolve(ModResolver.java:832) ~[fabric-loader-0.11.6.jar:?]
	at net.fabricmc.loader.FabricLoader.setup(FabricLoader.java:195) ~[fabric-loader-0.11.6.jar:?]
	at net.fabricmc.loader.FabricLoader.load(FabricLoader.java:185) [fabric-loader-0.11.6.jar:?]
	at net.fabricmc.loader.launch.knot.Knot.init(Knot.java:132) [fabric-loader-0.11.6.jar:?]
	at net.fabricmc.loader.launch.knot.KnotClient.main(KnotClient.java:28) [fabric-loader-0.11.6.jar:?]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_291]
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_291]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_291]
	at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_291]
	at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:196) [NewLaunch.jar:?]
	at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:231) [NewLaunch.jar:?]
	at org.multimc.EntryPoint.listen(EntryPoint.java:143) [NewLaunch.jar:?]
	at org.multimc.EntryPoint.main(EntryPoint.java:34) [NewLaunch.jar:?]

I'm running the game without any mods on the newest java version.
I'm also on the newest version of Fabric.

I also tried reinstalling Minecraft.

commented

You are running with java 8. This should be a problem with your vanilla launcher profile; make sure you clear the java executable or set it explicitly to a java 16 installation. That executable setting doesn't care if you have installed latest java 16 etc on your machine if you don't point to it explicitly.

commented

Hello, sorry for the late response.

I already did that and I still have the same issue. I also tried uninstalling java and Minecraft but that didn't help either.
Also, I'm able to run normal vanilla Minecraft without problems.

commented

Follow the steps here #1512 (comment)
but look at the "java executable"; if it is not empty, click × to clear it.
Also make sure your vanilla launcher is up-to-date.

commented

Thank you!

For anyone else having the same issue on the MultiMC launcher you can fix it by following these steps:
First of all download java 16 here: https://www.oracle.com/java/technologies/javase-jdk16-downloads.html

  1. Select the instance and click on "Edit Instance"
    image
  2. Go to settings TAB and click on java
    image
  3. Click on Browse... and navigate to C:\Program Files\Java\jdk-16.0.1\bin and find file javaw.exe and select it.
  4. You're finished and you can now play with Fabric