Minecraft crashing on startup in Ubuntu

Minecraft crashing on startup in Ubuntu - A Close-up Shot of Sea Waves

I recently installed Ubuntu 20.04 instead of Windows for various reasons and I installed Minecraft.
When I open it and run version 1.8.9 it crashes almost instantly.
This is the error I get when launching the game:

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.(LinuxSysImplementation.java:50)
    at org.lwjgl.Sys.createImplementation(Sys.java:131)
    at org.lwjgl.Sys.(Sys.java:116)
    at ave.J(SourceFile:2539)
    at net.minecraft.client.main.Main.main(SourceFile:41)


Best Answer

  • Searching for (the first two lines of) the error led me to this question on StackOverflow, saying

    "one of the more common causes of this exception is a missing or corrupt installation of a Java Access Bridge."

    The accepted answer also mentions to follow the instructions for installing here.

  • Alternatively, it could be indicative of a "headless Java installation".
    One of the comments in this bugthread mentions that

    "We should make it clear in the description of the tarball install on minecraft.net that non-headless java is needed (openjdk-8-jre)."




Pictures about "Minecraft crashing on startup in Ubuntu"

Minecraft crashing on startup in Ubuntu - Free stock photo of beach, h2o, landscape
Minecraft crashing on startup in Ubuntu - Free stock photo of action, adventure, beach
Minecraft crashing on startup in Ubuntu - Waves Crashing on Rocky Shore



Why does my Minecraft keep crashing on startup?

There are several causes for Minecraft crashing on startup: the mods, bugs in the game, the corruption of the game files, and the missing or outdated graphics card driver.

How do I fix Minecraft crashing on Linux?

Minecraft runs just fine on Linux, but it's probably not available for easy installation in your Linux distribution's package manager. Here's how to get your Linux system ready for Minecraft. We used Ubuntu 20.04.

Is Ubuntu good for Minecraft?

This indicates that an error has occurred due to incompatibility between video card driver and the Lightweight Java Game Library (LWJGL). Minecraft can crash due to a compatibility issue with the video card driver currently installed on your system.



Fix Minecraft Older Versions Crashing on Ubuntu/Linux




Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.

Images: Jess Loiterton, Jess Loiterton, Jess Loiterton, Polina Kovaleva