Changing Java Versions
The Java version of Minecraft comes with a Java runtime bundled with the installation, which is downloaded when Minecraft is run for the first time. Sometimes, however, updating to a newer version of the Java runtime is needed to resolve conflicts with graphics drivers or other issues.
Part A: Install Java
First, you will need to make sure that a standalone Java runtime is installed on your computer.
Part B: Set Minecraft to use Standalone Java Runtime
In the Launcher, click on Installations on the top.
Then click on Latest Release, then click on More Options in the window that opens.
Under Java Executable, copy the relevant text below and paste it into the field:
- Linux: click browse then navigate to
/usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java(note: your exact path may differ slightly)
Then click OK, then Save.
Go Back to the Play tab and try to start the “Latest Release” profile.
If this works, keep in mind you will need to update the version number in the Java Executable setting whenever you update Java. You will also need to apply this setting to any launcher profile you make.