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

Launcher crash caused by non-headless JRE installation outputs user-unfriendly error message

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reopened
    • Resolution: Unresolved
    • Affects Version/s: 2.1.1351 (Windows) / 2.1.1350 (Mac OS) / 2.1.1349 (Linux)
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Environment:
      Xubuntu 18.04.1 LTS Codename Bionic

      java -version
      openjdk version "1.8.0_171"
      OpenJDK Runtime Environment (build 1.8.0_171-8u171-b11-0ubuntu0.18.04.1-b11)
      OpenJDK 64-Bit Server VM (build 25.171-b11, mixed mode)
    • Confirmation Status:
      Unconfirmed

      Description

      Moderator Note

      Headless installations of java are not supported for running the client. Ensure that you are using your distributions full installation of the OpenJDK 8 Java Runtime Environment

      You can check to see if you have a headless installation of java on debian based distro's using:

      dpkg -l | grep openjdk
      

      If the output only contains the word openjdk-8-jre-headless and does not contain openjdk-8-jre then you will need to install the full JRE, normally:

      sudo apt-get install openjdk-8-jre
      

      If you are not on a Debian based distribution, please refer to your distributions documentation for checking what Java package you have installed

      SOLVED, I had to comment out a line referring to the accessibility tools.


       
      When i try to launch versions under 1.13, the launcher crashes after a few seconds.

      I believe this is the error part:

      [0731/141211:WARNING:x11_util.cc(1404)] X error received: serial 915, error_code 182 (GLXBadWindow), request_code 155, minor_code 32 (X_GLXDestroyWindow)
      [0731/141211:WARNING:x11_util.cc(1404)] X error received: serial 919, error_code 3 (BadWindow (invalid Window parameter)), request_code 4, minor_code 0 (X_DestroyWindow)
      [0731/141215:INFO:GameCallbacks.cpp(193)] launcher/launcher (main) info Process closed with exit code 0

      [0731/141215:INFO:GameCallbacks.cpp(193)] launcher/launcher (main) info Exception in thread "main" java.awt.AWTError: Assistive Technology not found: org.GNOME.Accessibility.AtkWrapper
      at java.awt.Toolkit.loadAssistiveTechnologies(Toolkit.java:807)
      at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:886)
      at org.lwjgl.LinuxSysImplementation.<clinit>(LinuxSysImplementation.java:50)
      at org.lwjgl.Sys.createImplementation(Sys.java:131)
      at org.lwjgl.Sys.<clinit>(Sys.java:116)
      at bib.I(SourceFile:2825)
      at net.minecraft.client.main.Main.main(SourceFile:38)

      [0731/141215:INFO:ClientHandler.cpp(149)] Shutting down!

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                devedani Dani
              • Votes:
                2 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: