The most common reason self-hosted Minecraft servers fail to start — and how to fix it
If your Minecraft server is crashing with an error like:
Exception in thread "main" java.lang.UnsupportedClassVersionError
You're running the wrong version of Java for your Minecraft version. This is the most common reason self-hosted servers fail to start.
Minecraft's server software is compiled for a specific version of Java. When the Java installed on your machine doesn't match what the server expects, you get this error.
| Minecraft Version | Required Java |
|---|---|
| 1.8 – 1.16 | Java 8 |
| 1.17 | Java 16 |
| 1.18 – 1.20 | Java 17 |
| 1.21+ | Java 21 |
Most players have one version of Java installed. If you update Minecraft but not Java, the server breaks.
This works — but you'll need to repeat it every time you update Minecraft.
MC Server Manager detects the Java version your server needs and either uses an already-installed version or downloads the correct one for you — automatically, every time.
You never touch Java again.
The Lite version is completely free and includes Auto Java Detection with no time limit on this feature.