Skip to content
Prism Launcher
Download

Java 21 (64-Bit) for Minecraft 1.20.5 & 1.21+

1 minEntity
Entityprism launcher java 21 temurin minecraft 1 20 5 1 21java 21 (64-bit) for minecraft 1.20.5 & 1.21+ prism launcherminecraft java setup windows

Mojang upgraded Minecraft 1.20.5 and 1.21+ to require a 64-bit Java 21 runtime; launching with Java 17 or Java 8 causes an immediate incompatible class version crash. Applies to Minecraft 1.20.5, 1.20.6, 1.21 – 1.21.4+.

Configuration
Java 21 (64-Bit) for Minecraft 1.20.5 & 1.21+
Minecraft Range
Minecraft 1.20.5, 1.20.6, 1.21 – 1.21.4+
Recommended Build
Eclipse Adoptium Temurin 21 / Microsoft OpenJDK 21
JVM Flags
-XX:+UseG1GC -XX:+UnlockExperimentalVMOptions -XX:G1NewSizePercent=20

Why Java 21 (64-Bit) for Minecraft 1.20.5 & 1.21+ matters for Minecraft 1.20.5, 1.20.6, 1.21 – 1.21.4+

Mojang upgraded Minecraft 1.20.5 and 1.21+ to require a 64-bit Java 21 runtime; launching with Java 17 or Java 8 causes an immediate incompatible class version crash.

Inside Prism Launcher, open **Settings** → **Java** (or override per instance under **Edit Instance** → **Settings**) and click **Auto-detect** or **Download** to select `Eclipse Adoptium Temurin 21 / Microsoft OpenJDK 21`.

Prism Launcher screenshot showing the instance management user-interface
Each instance has its own version, mods, settings and worlds.

Frequently asked questions

Which Minecraft versions need Java 21 (64-Bit) for Minecraft 1.20.5 & 1.21+?

It is designed for Minecraft 1.20.5, 1.20.6, 1.21 – 1.21.4+.

Can Prism Launcher keep Java 8, Java 17, and Java 21 installed at the same time?

Yes. Prism Launcher lets you assign a different Java executable to each individual instance.

Get Prism Launcher

Windows, macOS & Linux

Free and open source. Sign in with the Microsoft account that owns Minecraft, then create your first instance.

Prism Launcher on Windows showing several modpacks and instances