I installed Minecraft Java Edition on my Debian system and the launcher works well. However, when I try to launch the game, the launcher closes, nothing happens for a while, and then the launcher reopens with an error message and an Exit Code of 0. This is the official minecraft.deb file from minecraft.net/downloads/alternative, and yes I have a valid paid Minecraft account. Minecraft works perfectly (apart from a really loud fan XD) on my Macbook Pro. Can anyone tell me why this is happening?
Linked issues
is duplicated by 1
Attachments
Comments 6
Hello [Mojang] Ined,
Thank you for your response, but how exactly do I install Java 8 and tweak the game?
Thanks!
Open a terminal.
sudo apt-get install openjdk-8-jre
I think default-jdk will also work on Debian 9 'Stretch'
Open Minecraft Launcher
Installations tab
Edit the 'Latest Release' profile or whichever
'More options' button at bottom
Click browse under 'Java Executable'
Not really sure where you are supposed to look, but this might be it
/usr/lib/jvm/java-8-openjdk/jre/bin/
Hello Marty McFly,
I did what you said, but openjdk-8-jre wasn't found on my system. Instead I used the installation instructions at https://linuxize.com/post/install-java-on-debian-10/ , which installed adoptopenjdk-8-hotspot-amd64 on my system. Then as you said, I changed the Java executable in the Minecraft launcher to /usr/lib/jvm/adoptopenjdk-8-hotspot-amd64/jre/bin/java . However, when I run the game, it still shows me the Game Crashed (...) Exit Code: 0 error.
Thanks,
awesomeBurger72 (thegeek101)
I am having the same issue with Ubuntu 20.04 and i followed your suggested steps and such and it still does not work. However i am able to run 1.16.3 but not 1.8.9 nor optifine for 1.8.9
We are aware of this issue. It's caused by our launcher package installing Java 11 as default, which currently is incompatible with the game and causes crashes.
Your workaround for this is to install Java 8 and tweak the launcher/game to use this version instead.
We are tracking this issue internally, but it most likely will not be fixed in 2020 however.