Java 16 / Java 17 for Minecraft 1.17 – 1.17.1
Minecraft 1.17 originally targeted Java 16 and runs cleanly on 64-bit Java 17 LTS in Prism Launcher. Applies to Minecraft 1.17 – 1.17.1.
Step-by-step fix for Java version mismatches and JVM launch errors on Minecraft 1.17 – 1.17.1.
If your instance on **Minecraft 1.17 – 1.17.1** exits immediately after clicking Launch, open the **Minecraft Log** tab. An `UnsupportedClassVersionError` or `Incompatible magic value` means the instance is overriding the global runtime with the wrong Java version.
Follow our Java 16 / Java 17 for Minecraft 1.17 – 1.17.1 reference to point the instance at a verified 64-bit `javaw.exe`.

You either selected a 32-bit Java installation or set Maximum Memory higher than the free physical RAM currently available on Windows.
Only enable that toggle for special backported modpacks (such as GTNH Java 17/21 builds on 1.7.10); for normal packs, switch to the matching Java version instead.
Free and open source. Sign in with the Microsoft account that owns Minecraft, then create your first instance.
