Table of Contents

This content is outdated, click here to view the updated page on the new website.

Install/Verify Java (Windows)

You will need Java installed if you want to:


For Minecraft 1.17-1.20.4 we recommended using Java 17.

For Minecraft 1.20.5 and higher we recommend using Java 21.


Video Tutorial

See the video tutorial by Kennas here or click the image below:

YouTube


STEP 1: Verify if Java is already installed

Open the Run dialog by using the Windows+R hotkey. Enter cmd in the textbox and click OK This will open a command window.

In the command window type java -version and press Enter

If Java is already installed you will see something like this:


STEP 2: Uninstall previous Java versions

If you already have Java installed and you want to update/replace it, you may want to uninstall any Java version(s) installed in your system using the Operating System normal procedure for uninstalling programs.


STEP 3: Install Java

Download the Java 21 installer from here.

Choose the JDK .msi:

Open the JAVA installer you just downloaded:

When installing Java, change the way features will be installed:

Set the following features to “Entire feature will be installed on local hard drive”:

Finish the installation, then go back to STEP 1 to verify that Java was installed correctly.