Minecraft crashes on older versions. How can I fix it?

Re
7

I have finally switched to Linux Ubuntu and am very happy with it. Now I wanted to install Minecraft and it works great too. The only problem is that whenever I start older versions, the game crashes. I have now looked into the log file and it contains the following error message:

[11:27:19] [Render thread / INFO]: Setting user: Nico

[11:27:21] [Render thread / INFO]: Backend library: LWJGL version 3.2.2 build 10

[11:27:21] [Render thread / INFO]: Narrator library successfully loaded

[11:27:22] [Render thread / INFO]: Reloading ResourceManager: Default

[11:27:22] [Render thread / INFO]: Stopping!

[11:27:22] [Render thread / ERROR]: Shutdown failure!

java.lang.NullPointerException: null

at eca.close (SourceFile: 100) ~ [1.15.2.jar:?]

at dbn.close (SourceFile: 910) [1.15.2.jar:?]

at dbn.k (SourceFile: 898) [1.15.2.jar:?]

at net.minecraft.client.main.Main.main (SourceFile: 218) [1.15.2.jar:?]

Can anyone decipher what the problem is?

St

I have also tried several weeks to fix the problem, I can only advise you not to waste your time. It seems to me that Mojang only made Minecraft playable for Linux users in more recent versions.

Re

I would at least like to get version 1.12.2 working. Isn't she that old? I thought maybe it was the wrong version of Java?

St

For me 1.12.2 did not work either, as I said, I have not found a solution. I also heard about updating / reinstalling Java, but it did absolutely nothing. If you wanna deal with it and find out, tell me ok? 😂

Ha

It can't be because I played Minecraft in older versions under GNU / Linux.

Mo

You just have to install Java 8: sudo apt install openjdk-8-jre
It is important that you do not get the headless version of it, minecraft does not support it, if I type it exactly as I wrote it it should work

Mo

You just have to install Java 8:
sudo apt install openjdk-8-jre

It is important that you do not get the headless version of it, minecraft does not support it, if I type it exactly as I wrote it it should work

Re

I've already tried that, but unfortunately it still doesn't work.