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!
Linked issues
is duplicated by 5
Comments 7
That sounds more like a broken JRE installation ...
Yes. Probably a headless install instead of the normal one.
That's why I'm asking how it was installed, because the .deb package on minecraft.net should depend on the normal, non-headless Java 8.
Launcher was installed from the tarball.
I got the user to run dpkg -l | grep openjdk
and this is the output:
1 | ii openjdk-8-jre-headless:amd64 8u171-b11-0ubuntu0.18.04.1 amd64 OpenJDK Java runtime, using Hotspot JIT (headless) |
Indeed, this is headless java.
We should make it clear in the description of the tarball install on minecraft.net that non-headless java is needed (`openjdk-8-jre`).
Maybe checking for this in the launcher and displaying a friendly error message would be a good idea too.
My launcher disappeared. It was updating then the windows closed somehow and now my launcher won't work. I am doing it here cus I can't figure out how to report an issue.
Hello @unknown!
The issue you're describing sounds like you would be better assisted on the Community Support Discord at https://discord.gg/58Sxm23.
How was the launcher installed?