When I load up the game it instantly crashes. I removed openjdk 11 and installed openjdk 8. When reinstalling the game (as this deleted the game as a result) it automatically reset my JDK version to 11, which reset me to square 1. So then I set the Java runtime directory through the launcher, and once launching the game it says that it cannot locate the java runtime, and under exists, it says directory, which I have never seen before. This is not my main computer and I was going to try and test my modpack on it, but with the base game not launching, it's impossible. Also note that the stock game runs fine on my other computer running stock Ubuntu, so it might just be a budgie thing, but even on that computer I had to uninstall OpenJDK 11 which had auto installed with the launcher, but I could remove it on that one.
Comments 4
The Minecraft.deb has the default-jre dependency. On Ubuntu 20.04 this is openjdk-11-jre.
There are two (admittedly hacky) solutions I came up with to fix this:
• Edit the Minecraft.deb file by unpacking the 'control' file and replacing the "default-jre" dependency by "openjdk-8-jre". Then put the .deb package back together.
• Download the Minecraft.tar.gz archive from the website (Other distributions button). Unpack it into your desired location (default for the deb is /opt/minecraft-launcher). Create a symlink in /usr/bin and/or a .desktop file in /usr/share/applications. Make sure just openjdk-8-jre is installed.
There are probably better solutions out there, but those are the ones I came up with. The update-alternatives command could probably work too and would be way simpler, but I didn't try yet.
Hi there!
Could you answer few questions regarding this issue, it will help with the investigation:
Does this issue still occur on the newest version of the Launcher?
Did the solution provided by Schusswaffel solved your issue?
Do you use VPN or any of the incompatible software on machine you try to log-in?
Could you provide us with more in-depth repro steps?
This ticket will automatically reopen when you reply.
Update you ubuntu to the ubuntu 20 version