Guides

Minecraft Server Not Starting? 9 Common Fixes

SkailarHost Team
November 15, 2026
8 min read
Minecraft Server Not Starting? 9 Common Fixes

You press start, the console scrolls for a few seconds, and the server stops again. The good news: a Minecraft server almost always says exactly why it won't start. Here's how to find that message, and how to fix the nine causes behind nearly every failed start.

TL;DR

Read the last errors in the console or in logs/latest.log. Most servers that won't start have the wrong Java version, an unaccepted EULA, too little RAM, a mod that doesn't match the server's version or loader, a missing dependency, a client-only mod, a port problem, a damaged world or a missing server jar. Fix the cause the log names, then start again. Back up before you change anything.

First, find the error

Start the server and watch the console until it stops. The message you need is near the end, so scroll up from the bottom. Everything the console shows is also saved in your server's files:

  • logs/latest.log: the full log of the last start
  • crash-reports/: a report for every crash, named after the date and time

Look for lines with ERROR, Exception or FATAL. In a long Java error, the useful part is usually the last Caused by: line: it names the real problem, and often the mod or file behind it.

Match your error to the fix

If the log saysThe problemFix
UnsupportedClassVersionErrorJava is too old for this versionFix 1
You need to agree to the EULAThe EULA isn't acceptedFix 2
OutOfMemoryErrorNot enough RAM (or it stops with no error)Fix 3
only the wrong version is presentA mod for another version or loaderFix 4
… which is missing!A missing dependencyFix 5
invalid dist DEDICATED_SERVERA client-only mod on the serverFix 6
FAILED TO BIND TO PORTA port problemFix 7
Exception reading level.datA corrupted worldFix 8
Unable to access jarfileA missing jar or a full diskFix 9

The 9 fixes

1. Use the right Java version

This is the most common one, especially right after changing Minecraft version. The error looks like this:

java.lang.UnsupportedClassVersionError: ... 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 numbers tell you what's needed: here the server wants class file version 65 (Java 21) but is running Java 17 (61). Each Minecraft version needs a minimum Java version:

Minecraft versionJavaClass file version
26.1 and newerJava 2569
1.20.5 to 1.21.xJava 2165
1.18 to 1.20.4Java 1761
1.17 and 1.17.1Java 1660
1.16.5 and olderJava 852

Newer Java usually runs older vanilla versions fine, but old modded servers are picky: Forge for 1.16.5 and earlier generally needs Java 8 and breaks on newer versions. On SkailarHost, open Startup in the game panel, pick the matching Java version from the Docker image list and restart. Check it again whenever you switch Minecraft version.

2. Accept the EULA

On its first start, a new server creates eula.txt and stops with You need to agree to the EULA in order to run the server. Open eula.txt in the file manager, change eula=false to eula=true, save and start again. That confirms you accept Minecraft's End User License Agreement.

3. Give it enough RAM

If the log shows java.lang.OutOfMemoryError: Java heap space or GC overhead limit exceeded, the server ran out of memory. Sometimes there's no error at all: the server simply stops partway through loading, because it hit the plan's memory limit. Modpacks are the usual cause, since every mod loads at startup.

Remove mods you don't need, or move to a bigger plan. Our guide to how much RAM a Minecraft server needs has numbers for vanilla, plugins and modpacks, and you can upgrade your RAM without moving your world.

4. Match mods to your version and loader

A mod made for 1.20.1 won't load on 1.21.1, and a Fabric mod won't load on Forge or NeoForge. Fabric says a mod needs another Minecraft version "but only the wrong version is present", and Forge and NeoForge list each problem with the version range the mod expects. Download the build of the mod made for your exact Minecraft version and loader, or remove it.

Plugins on Paper, Spigot or Purpur rarely stop the whole server. A plugin built for a newer version fails with Unsupported API version, and the server starts without it.

5. Install missing dependencies

Many mods need a library mod to work. Fabric names it directly ("requires any version of fabric-api, which is missing!"), and Forge and NeoForge print Missing or unsupported mandatory dependencies with the missing mod's ID. Install what it names, in the version it asks for. Fabric API, Architectury, Cloth Config and GeckoLib are the usual suspects.

6. Remove client-only mods

Some mods only work in the game client: minimaps, shader loaders, zoom mods, OptiFine and other visual mods. On a server they crash it with an error like:

Attempted to load class net/minecraft/client/... for invalid dist DEDICATED_SERVER   (Forge, NeoForge)
Cannot load class net.minecraft.client... in environment type SERVER          (Fabric)

The lines around it name the mod. Remove it from the server's mods folder; players can keep it. For modpacks, always install the pack's server files, not your own mods folder: they leave out the client-only mods for you. Our modpack guide shows how.

7. Fix the port

**** FAILED TO BIND TO PORT!
The exception was: java.net.BindException: Address already in use
Perhaps a server is already running on that port?

The server can't use the port it was given. Open server.properties, leave server-ip= empty and make sure server-port matches the port your panel shows. If a plugin or mod opens its own port, like a web map or a voice chat mod, it needs a different port from the game's.

8. Restore a damaged world

Errors like Exception reading ./world/level.dat, chunk loading errors, or a crash while preparing the spawn area mean the world files are damaged. That usually happens after a forced shutdown, a full disk, or removing a mod that added blocks.

The safest fix is restoring a backup from before the problem. If you don't have one, level.dat_old in the world folder is Minecraft's own copy of level.dat: copy the world first, then rename level.dat_old to level.dat.

9. Check the server jar and disk space

Error: Unable to access jarfile or Invalid or corrupt jarfile means the server's jar is missing, renamed or broken, often after a failed install. Reinstall your server software with the version changer in the panel, or make sure the jar name in Startup matches the file in your server folder.

No space left on device means the disk is full. Delete old backups, logs and unused worlds, or move to a plan with more storage. A full disk is also a common cause of damaged worlds, so fix it quickly.

Still not starting?

Work through it in this order:

  1. Take a backup before you change anything else.
  2. Split your mods in half. Move half of them out of the mods (or plugins) folder and start. If it works, the problem is in the half you removed. Keep halving: even 100 mods takes only about seven tries.
  3. Test with a new world. Change level-name in server.properties to a new name and start. If a fresh world works, the problem is in your old one.
  4. Ask for help with the full log. Send the whole latest.log, not a screenshot of the last lines. On SkailarHost, our team offers support 7 days a week.

How to stop it happening again

  • Back up before every update to Minecraft, your loader or your mods.
  • Update a few mods at a time, so you know which one broke things.
  • Stop the server properly with the stop button or the stop command. Killing it mid-save is the top cause of damaged worlds.
  • Leave room in your RAM. A server that runs at its limit will eventually crash.

Minecraft hosting that's easy to fix

Our Minecraft server hosting makes most of these fixes a click away: switch Minecraft version and server software with the version changer, install modpacks and plugins in one click, and restore a daily backup with one click when an update goes wrong. Plans start at $1.80/month, and the most popular 8 GB plan handles 25–50 players. If your server keeps starting but runs slowly, read our tips to reduce lag.

FAQ

What does "A single server tick took 60.00 seconds" mean?

The server froze for a full minute, so its watchdog shut it down. It's usually a heavy mod, a huge farm or world generation. The crash report shows what the server was doing at the time, so start there. Setting max-tick-time=-1 in server.properties turns the watchdog off, but it hides the problem instead of fixing it.

Where are crash reports saved?

In the crash-reports folder of your server, one file per crash, named after the date and time.

Can I open my world in an older Minecraft version?

No. Minecraft upgrades worlds to newer versions, but opening a world in an older version can damage it. Always back up before changing version.

The server starts, but nobody can join. Why?

That's a different problem. Check that players use the full address including the port, that they run the same Minecraft version as the server, and that they're on the whitelist if you use one.

A Minecraft server that just works

Minecraft servers from $1.80/month, with a one-click version changer, one-click modpacks, daily backups and free DDoS protection.

Tags

#Minecraft#Troubleshooting#Java#Crashes#Guides

Related Articles