Use this guide to update your Java version.
- You can install the latest version of Java here. Download and run the
.msifile if you're on Windows.- If prompted, it is recommended you install Java for all users.
- After installing Java, follow the steps on the image below.
- If the Java you installed doesn't show up, click
Refreshon the bottom left in theAuto-detectmenu.
- If the Java you installed doesn't show up, click
We do not recommend using the official Minecraft launcher since it is tedious to switch Java versions – ideally, use Prism instead. If you have to use it though, see this guide.