JVM Arguments: Aikar's Flags, G1GC & Generational ZGC
Custom garbage collection flags smooth out 1% low frame drops when generating chunks in 300-mod packs. Applies to Modded 1.12.2 – 1.21.4+.
Step-by-step fix for Java version mismatches and JVM launch errors on Modded 1.12.2 – 1.21.4+.
If your instance on **Modded 1.12.2 – 1.21.4+** 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 JVM Arguments: Aikar's Flags, G1GC & Generational ZGC 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.
