UnsupportedClassVersionError
Java class version error: what the numbers 52, 61, and 65 mean, which mod or plugin is to blame, and how to fix it.
Updated August 13, 2026
java.lang.UnsupportedClassVersionError: com/example/Plugin has been compiled by a
more recent version of the Java Runtime (class file version 65.0), this version of
the Java Runtime only recognizes class file versions up to 61.0
The file was compiled for a newer Java version than the one your server runs on.
Version table
| Class file version | Java |
|---|---|
| 52 | 8 |
| 55 | 11 |
| 61 | 17 |
| 65 | 21 |
What to do
- Find the culprit's name in the first line (
com/example/Plugin) — that is the plugin or mod. - Download its build for your Minecraft version: each game version uses its own Java — Java version.
- If there is no build for the Java version you need, the plugin is incompatible with your server version — look for an alternative.
In Millida
The control panel picks the Java version to match the core and the game version, so you do not need to change it manually. This error points to a foreign file, not to a misconfigured hosting setup.
The reverse case (class file version 52 on a newer Java) usually works: Java runs older classes. Problems occur with very old 1.7–1.12 mods on Java 17+ — those need the matching game version.
Minecraft hostingYour server runs while you are offlineCreate server
