Uploaded image for project: 'Minecraft Launcher'
  1. Minecraft Launcher
  2. MCL-18845

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 2.2.3554 (Linux)
    • Minecraft Launcher
    • 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

      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)

            Unassigned Unassigned
            Sky Swimmer Stefan Eekhof
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: