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

Linux Launcher uses system jre instead of Java 8

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Awaiting Response
    • None
    • 2.1.1351 (Windows) / 2.1.1350 (Mac OS) / 2.1.1349 (Linux)
    • None
    • None
    • Linux: Ubuntu 18.04.1 LTS

      default-jre (Java 10) installed and set as system default

      openjdk-8-jdk also installed
    • Community Consensus

      The launcher uses the system Java runtime, even if Java 8 is installed.

      What I expected to happen was...:

      The launcher should check if

      "/usr/lib/jvm/java-8-oracle/jre/bin/java"

      or

      "/usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java"

      exists and try to use those before reverting to using "/usr/bin/java" (which is probably going to be Java 10 or 11 on most linux installs).

      As an alternative, you could at least inform the player that he is not using an optimal version of java and leave the task of setting the Java executable launch option to the user.

      Steps to Reproduce:
      1. get a fresh install of linux.
      2. run apt install default-jre
      3. run apt install openjdk-8-jre
      4. install the minecraft launcher from: _https://launcher.mojang.com/download/Minecraft.deb_
      5. the launcher will use Java 11, even though Java 8 would be the better option

            Unassigned Unassigned
            Chasethechicken Inge Neur
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: