Newer versions of Java are blocked
In previous versions of the Launcher, it let you use a newer version of Java then the minimum requirement. Now, you get Java Runtime version error when using a Java version newer than the minimum requirement.
Your Java Runtime is incompatible. Please edit your installation to use the bundled Java Runtime.
Name Java version mismatch
URL http://aka.ms/jnierror.
It happens with Java 18 EA on 1.18. It also happens with Java 18 EA and Java 17 on 1.17. It also happens with Java 17, Java 16 and Java 11 on versions older than 1.17. It should only block older Java versions, not newer ones. It does not happen when using Java 8 to launch a version that is compatible with Java 7.
Workaround: Delete the JavaCheck.jar file from the game folder. On macOS, it can be found in ~/Library/Application Support/minecraft/launcher/launcher.bundle/Contents/Resources. On Linux, it is in ~/.minecraft/launcher.
2021-06-19, 06:26 PM
2023-10-30, 08:00 PM
2023-09-05, 01:04 PM
73
50
553113
Java-version, java-error, java17, java18, java19, java20
2.2.3124 (Mac) - 2.4.104 (Win 10/11 App)
2.2.3124 (Mac), 2.2.3201 (Windows), 2.2.3202 (Mac), 2.2.3200 (Linux), 2.2.3555 (Windows), 2.2.3557 (Mac), 2.2.3964 (Mac), 2.2.3963 (Linux), 2.2.5519 (Windows), 2.2.5518 (Mac), 2.2.5516 (Linux), 2.2.7265 (Windows), 2.2.7268 (Mac), 2.2.7447 (Windows), 2.2.7448 (Linux), 2.2.7449 (Mac), 2.3.136 (Windows), 2.4.79 (Win 10/11 App), 2.4.104 (Win 10/11 App)
2.8.2 (Win 10/11), 2.8.2 (Linux), 2.8.2 (Mac), 2.8.2 (Legacy Windows)