TransWikia.com

Minecraft crashes starting older versions (1.10.2 and 1.11.2)

Arqade Asked on January 24, 2021

I have Minecraft Java edition, using the Launcher v2.1.17417. I have created an installation using 1.10.2 so I can use the Great Fire of London maps from here. But the 1.10.2 installation crashes on startup with:

Exception in thread "main" java.awt.AWTError: Assistive Technology not found: org.GNOME.Accessibility.AtkWrapper

This is unsurprising: minecraft is using the bundled JVM at /snap/mc-installer/current/etc/java-8-openjdk/, with an accessibility.properties file containing the line:

assistive_technologies=org.GNOME.Accessibility.AtkWrapper

I believe commenting out this line would solve the problem (https://bugs.launchpad.net/ubuntu/+source/openjdk-lts/+bug/1788250), but because this is a snap this can’t be changed without re-bundling the whole thing.

I have tried overriding the accessibility settings in the JVM by adding -Djavax.accessibility.assistive_technologies but this then crashes with:

java.lang.ExceptionInInitializerError
    at bcx.ar(SourceFile:624)
    at bcx.an(SourceFile:432)
    at bcx.a(SourceFile:381)
    at net.minecraft.client.main.Main.main(SourceFile:124)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
    at org.lwjgl.opengl.LinuxDisplay.getAvailableDisplayModes(LinuxDisplay.java:951)

I then tried to use the JVM I’ve got installed by specifying the Java executable option in the launcher. No good, because being a snap it can’t access /usr or /etc or any of the other many places there are symlinks to the JVM. So I created a symlink to my JVM in my home directory. No good either ("Unable to locate the Java runtime." again), presumably also because of snap sandboxing.

In desperation I copied the whole JDK (openJDK 1.11) to my home directory and pointed to that; Minecraft can find it but crashes on launch with exit code 0 without even logging anything (unsurprising; the JVM is not expecting to be run from a random folder).

Ideas welcome please on how to get this running. 1.16.1 and 1.16.2 start fine (but are buggy with the maps I want to use, which were created in 1.10.2 and 1.11.2).

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP