Tutorials/Update Java

From Minecraft Wiki
Jump to: navigation, search

Updating Java is important to do as a Minecraft player, as some technical bugs may be fixed only by updating Java.

The Minecraft launcher is bundled with Java version 1.8.0_51, which is used by default. It is possible to change the used Java version in the profile options menu.

What is Java?[edit]

Java is a programming language and computing platform. Unlike many other languages, Java does not run directly on the hardware, but in a virtual machine, called the JVM (Java Virtual Machine).[1] Minecraft is written in Java, and uses it for game logic, rendering, and networking.

As of April 14th, 2020, the latest stable (Long-Term Support) Java versions are 1.8.0_251 and 11.0.7, while the latest development build is versions 15 early-access build 18.

Note: Minecraft cannot run with Java 9 or greater unless you remove -XX:+CMSIncrementalMode from your JVM Arguments.

Why update?[edit]

The latest versions of Java contain important enhancements to help improve performance, stability and security of the Java applications that run on your machine. Installing the latest Java update ensures that Minecraft continues to run safely and efficiently.

  • As of the Java Edition 1.12 update, Minecraft requires Java 8 or greater.[2]
  • Minecraft may sometimes crash without being run by a relatively modern version of Java.
  • Java updates fix lots of problems and bugs and typically cause increases in performance.
  • Running a server requires your computer to have Java installed instead of the pre-installed Java. See Tutorials/Setting up a server for more information.

Where to download?[edit]

Obtain the latest long-term Java update here.

Obtain the latest short-term Java update here.

You can obtain the latest Java 14 development build here.

You can obtain the latest Java 15 development build here.

Please note that short-term versions of Java may be unstable, thus could cause unexpected crashes and other issues.


  • Java 9, 10 and 12 are no longer supported by Oracle, they no longer receive public security updates,[3] and are to be regarded as insecure. Oracle has removed them from its download page but the builds are still available in the Java Archive. Oracle does not recommend using builds from the Java Archive.[4]

How to update?[edit]

When you install Java, go to your launcher, edit or create an installation, and in the Java Executable box, type C:\Program Files\Java\jvm-[version]\bin\javaw.exe (Windows) or: /usr/lib/jvm/(java version)/bin/java (Linux)