9minecraft Launcher Download

This Game Version Needs A Newer Java

The game or a mod needs a newer Java than the one used, for example Java 21 for Minecraft 1.20.5+ or Java 25 for 26.x.

What the log says"has been compiled by a more recent version of the Java Runtime (class file version …)"

What it means

The game or a mod needs a newer Java than the one used, for example Java 21 for Minecraft 1.20.5+ or Java 25 for 26.x.

How to fix

  1. Press Fix it for me — it selects the right Java automatically.
  2. Keep Java on "Managed automatically".

The launcher recognises this automatically (rule java.class_version): the Last crash box on the instance page explains it, and Fix it for me makes the fix. See The game crashed — what to do.

Did this help? If not, tell us what happened. This didn't help → Report a problem