-
Bug
-
Resolution: Duplicate
-
None
-
2.2.3554 (Linux)
-
None
-
Operating System: Arch Linux
Linux Kernel Version: 5.12.15-arch1-1
Java Versions:
- Java OpenJDK 11.0.11 (Java 11)
- Java OpenJDK 16.0.1
-
Unconfirmed
Issue
Cannot launch 1.16.5 using Java OpenJDK 11
Error message
Your Java Runtime is incompatible. Please edit your installation to use the bundled Java Runtime. Name: Java version mismatch URL: http://aka.ms/jnierror
Steps to reproduce
- Create a new installation
- Select Release 1.16.5
- Manually set the JVM executable to the Java 11 binary, eg.
/usr/lib/jvm/java-11-openjdk/bin/java
- Run the client, it crashes with the above error
Unaffected Launcher versions
Any versions prior to the release of Minecraft 1.17 might work
Suspected cause
I suspect it has to do with the java 16 check, to prevent client crashes with out-of-date JVM on 1.17, but it might force java 16 for any manually selected JVM on any client version.
Result
Unable to play minecraft with versions that depend on a specific JVM. Modded 1.16.5 (Cyan + Forge) wont run. (Cyan depends on Java 11 because Forge does not handle newer JVMs well)
- duplicates
-
MCL-18306 Newer versions of Java are blocked
- Resolved