Mod detects incorrect Java version error even though correct one is installed
DigitalRustt opened this issue ยท 2 comments
Describe the bug
Upon trying to launch the game an error about an incorrect version of OpenJDK 64-BIT Server VM appears:
- Mod 'Concurrent Chunk Management Engine (Optimizations/Natives Math)' (c2me-opts-natives-math) 0.3.2+alpha.0.19+1.21.4 requires version 22 or later of 'OpenJDK 64-Bit Server VM' (java), but only the wrong version is present: 21!
It says the needed version is 22 or later, the detected version is 21, but I know my actual version is 23
To Reproduce
Steps to reproduce the behavior:
- Launch game
- See error
Expected behavior
Unproblematic launch of the game
Screenshots
Here are some screenshots proving my correct java installation:
- java version
- java version used by my launcher (Prism Launcher 9.1)
3 Environment Variables
3.1 System Variable %JAVA_HOME%
3.2 Path Variable for java (it's also the first one on the list so it gets picked up first)
Runtime info (please complete the following information):
- OS: Windows 10 Pro 10.0.19045
- Minecraft version: Fabric 1.21.4
- Mod version: Alpha 0.3.2.0+1.21.4
- Mod branch: (fill this if you are not using the default
verbranches)
Crash reports / logs
Incompatible mods found!
net.fabricmc.loader.impl.FormattedException: Some of your mods are incompatible with the game or each other!
A potential solution has been determined, this may resolve your problem:
- Replace mod 'Auditory' (auditory) 0.0.7-1.21.1 with any version that is compatible with:
- minecraft 1.21.4
- Replace mod 'CIT Resewn' (citresewn) 1.2.2+1.21 with any version that is compatible with:
- minecraft 1.21.4
- Replace mod 'Tiny Item Animations' (tia) 1.2.1 with any version that is compatible with:
- minecraft 1.21.4
- Replace mod 'Cave Dust' (cavedust) 3.0.1 with any version that is compatible with:
- minecraft 1.21.4
More details:
- Mod 'Auditory' (auditory) 0.0.7-1.21.1 requires version 1.21.1 of 'Minecraft' (minecraft), but only the wrong version is present: 1.21.4!
- Mod 'Cave Dust' (cavedust) 3.0.1 requires version 1.21.3 of 'Minecraft' (minecraft), but only the wrong version is present: 1.21.4!
- Mod 'CIT Resewn' (citresewn) 1.2.2+1.21 requires any version between 1.21 (inclusive) and 1.21.1 (inclusive) of 'Minecraft' (minecraft), but only the wrong version is present: 1.21.4!
- Mod 'Tiny Item Animations' (tia) 1.2.1 requires any version between 1.21 (inclusive) and 1.21.2 (exclusive) of 'Minecraft' (minecraft), but only the wrong version is present: 1.21.4!
- Mod 'Concurrent Chunk Management Engine (Optimizations/Natives Math)' (c2me-opts-natives-math) 0.3.2+alpha.0.19+1.21.4 requires version 22 or later of 'OpenJDK 64-Bit Server VM' (java), but only the wrong version is present: 21!
at net.fabricmc.loader.impl.FormattedException.ofLocalized(FormattedException.java:51)
at net.fabricmc.loader.impl.FabricLoaderImpl.load(FabricLoaderImpl.java:196)
at net.fabricmc.loader.impl.launch.knot.Knot.init(Knot.java:146)
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:68)
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
at org.prismlauncher.launcher.impl.StandardLauncher.launch(StandardLauncher.java:105)
at org.prismlauncher.EntryPoint.listen(EntryPoint.java:129)
at org.prismlauncher.EntryPoint.main(EntryPoint.java:70)
Other mods
https://pastebin.com/DQTDfbXC
Checklist
- I am using the official version of the mod.
- I tried the latest development version but the issue persists.
- I searched for similar open issues and could not find an existing bug report on this.
Additional context
I know some of my other mods aren't working but that shouldn't matter
Java version is set in your launcher.
Also see FabricMC/fabric-loader#984



