
[ Microsoft Build of OpenJDK (the officially tested OpenJDK build for Minecraft).If you make money from streaming Minecraft or running a Minecraft server (even non-profit), you MUST use OpenJDK unless you want to figure out how to pay. For the purpose of Minecraft they are essentially the same, but Oracle's "OTN" version (Oracle JDK uses "Oracle No-Fee Terms and Conditions" as of Java 17 LTS) requires a PAID license for commercial and production purposes. You can get Java either from Oracle or from someone who builds OpenJDK. See also: Wikipedia:OpenJDK § OpenJDK builds See Tutorials/Setting up a server for more information. Running a server requires your computer to have Java installed instead of the pre-installed Java.For example, the newer garbage collectors can help with lag spikes during high memory usage.Java updates fix lots of problems and bugs and typically cause increases in performance.Minecraft may sometimes crash without being run by a relatively modern version of Java.Since Java Edition 1.18( 1.18 Pre-release 2), Minecraft requires Java 17 or newer.From Java Edition 1.17( 21w19a) to Java Edition 1.17.1(1.18: 1.18 Pre-release 1), Minecraft requires Java 16 or newer.Different Minecraft versions have different requirements of minimum Java version.Installing the latest Java update ensures that Minecraft continues to run safely and efficiently. The latest versions of Java contain important enhancements to help improve performance, stability and security of the Java applications that run on your machine.

If you use a custom JVM, you should notice that the official launcher only allow the custom JVM with the same primary Java version as the minimum required Java version to launch the game. Minecraft (Java Edition) is written in Java, and uses it for game logic, rendering, and networking.Īs of May 12, 2023, the latest stable Java versions are 1.8.0_372 (OpenJDK) (Long-Term Support or LTS), 11.0.19 (LTS), 17.0.7 (LTS) and 20.0.1 (Short-Term Support or STS). Unlike many other languages, Java does not run directly on the hardware, but in a virtual machine, called the JVM (Java Virtual Machine).

Java is a programming language and computing platform.
