mojira.dev
MCL-18845

[DUPLICATE] Java Runtime Incompatible Error when launching 1.16.5 with Java 11

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

  1. Create a new installation

  2. Select Release 1.16.5

  3. Manually set the JVM executable to the Java 11 binary, eg. 

    /usr/lib/jvm/java-11-openjdk/bin/java
  1. 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)

Linked issues

Comments 1

migrated

Thanks for telling me, i could not find it when i created this issue

migrated

(Unassigned)

Unconfirmed

Retrieved