

Visit the website for Adoptium Temurin OpenJDK. If this is the case, you can skip to installation instructions Note: If you are using Linux, most package managers include OpenJDK, so you do not need an installer for them. There are many places where you can get OpenJDK, in this tutorial we will be getting them from Adoptium. Java 17 will show up as either Java version "17. Java 11 will show up as either Java version "11. Java 8 will show up as either Java version "1.8. Next, type in java -version and press enter. You can check if a version of Java is already installed on your computer by following these instructions.įirst, open up a terminal (Win11, macOS, Linux) or Command Prompt (Win10, Win8.1, Win7) The below compatibility chart was last updated. You should use Java 8, 11 or 17 if you can, as they will receive security updates for years to come. Note: Java versions 6 and 16 no longer receive security updates, and are therefore more risky to use. If you are not are not sure if you are using the correct Minecraft launcher or are getting “This application requires a Java Runtime Environment” when launching Minecraft, then you can download the Minecraft Launcher from.

If you are using the official launcher, you normally do not have to manually install Java, but you may want to if you are trying to run a server, trying to fix an issue, or using it for Java applications other than Minecraft. This includes the Windows 7 and Windows 8.1 version of the launcher. The Minecraft launcher includes the version(s) of Java required to run the game, and automatically keeps them up to date.

We cannot use Oracle Java for modern versions of Java, since they have commercial usage restrictions which mean some users (particularly, those making money off of Minecraft) would have to pay to use it.įortunately, we can use OpenJDK, which is identical to Oracle Java but does not have the same restrictions. Java comes in many shapes and forms, which may make it confusing exactly which version of it you should have installed, which is what this should hopefully explain. “Minecraft Java Edition” is named as such because it is written in Java. The Java Runtime Environment (JRE) is software that allows for programs written in the Java programming language to run on your computer.
