Recently on Linux there has been a problem with Minecraft not running on Oracle Java 9. In this tutorial you will find out how to make the popular game work on Linux once again with the use of an older version of Java.
Replacing Java 9 with Java 8 (via PPA)
As Minecraft only works on the older version of Oracle Java, the first thing to do is replacing Java 9 with Java 8. We will use a few commands to do this so fire up your terminal and copy the commands below one by one pressing enter after every one.
Removing Java 9
sudo apt-get purge oracle-java9-installer
sudo add-apt-repository --remove ppa:webupd8team/java
Installing Java 8 (Webupd8)
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
Downloading and setting up Minecraft.jar
If you haven’t yet downloaded the Minecraft.jar file do this by clicking here. In your file manager, make sure that the file can be executed as a program by right-clicking on the shortcut, selecting Properties and checking whether Allow executing file as program is ticked. If it isn’t then tick it. You can now close the properties window and double-click the file shortcut. You should now see the Minecraft Launcher open.
featured image: screenshot from “[HOW TO] Fixing black screen in Minecraft on Linux” YouTube video by mdkwlan
image in post: logicbricks.com