Java version check fails when attempting to start Minecraft 1.16.5 with Adoptium OpenJDK 1.8.0_352
Repro steps:
- Install latest Adoptium OpenJDK (1.8.0_352).
- Create a new 1.16.5 installation.
- Edit installation and set Java executable path to javaw in the Adoptium installation:
C:\Program Files\Eclipse Adoptium\jdk-8.0.352.8-hotspot\bin\javaw.exe
- Attempt to play installation.
Expected behavior:
Installation starts normally using installed OpenJDK install.
Actual behavior:
Game launch fails with:
Your Java Runtime is incompatible. Please edit your installation to use the bundled Java Runtime. Name: Java version mismatch URL: https://aka.ms/jnierror
In launcher_log.txt I find:
[Info: 2022-11-29 07:17:16.8979863: MinecraftJavaRunningContext.cpp(250)] Java Runtime Version : 1.8.0_352 [Info: 2022-11-29 07:17:16.8979993: MinecraftJavaRunningContext.cpp(251)] Java Runtime Version Required : 8 [Error: 2022-11-29 07:17:16.8980102: MinecraftJavaRunningContext.cpp(259)] Java Runtime mismatch! Please switch java runtime settings to use bundled jre. [Error: 2022-11-29 07:17:16.8980267: MinecraftJavaRunningContext.cpp(292)] Java Check Versions mismatch [Info: 2022-11-29 07:17:16.8980768: MinecraftJavaLoggingContext.cpp(52)] Launcher/monitor (Process Monitor) Fatal Game failed to launch
Seems like the java runtime version check in the latest version of the Minecraft launcher is no longer able to correctly identify that my java runtime version actually is java 8.
Doing some research online, it sounds like this isn't the first time this has been screwed up; people reported that deleting JavaCheck.jar from the Minecraft install folder fixed this issue. I tried doing that and sure enough, my 1.16.5 installation starts up just fine.
2022-11-29, 09:34 AM
2023-03-10, 10:11 AM
2022-11-29, 10:59 AM
0
0
-