Minecraft Server Won't Start: EULA, Java, Port and Memory Fixes
When a Minecraft server will not start, the Console tab usually tells you why, and the first error is the one that matters, not the last. The common causes are an unaccepted EULA, the wrong Java version, a port conflict, running out of memory, a damaged world, or a bad plugin, mod or datapack.
This guide lists each error with its fix. It was checked on 2026-11-15 against host troubleshooting documentation and our own panel conventions. Minecraft versions moved to year-based numbering in 2026, with 26.1 and later needing Java 25, so older tutorials may give outdated Java advice.
- Open the Console tab and read the first error. Later errors are usually side effects.
- "You need to agree to the EULA" means
eula.txtmust sayeula=true. Edit it on the Files tab. UnsupportedClassVersionErrormeans the Java version is too old. Minecraft 26.x needs Java 25 and 1.20.5 to 1.21.11 uses Java 21. Choose Java on the Mods tab.OutOfMemoryErrormeans the server ran out of RAM. A log that just stops, with no error, can be the server being killed for using too much memory.- Take a backup before touching world files, and restore a backup if the world is damaged.
On this page
Read the console first
Open your server on panel.chicagoservers.co and look at the Console tab right after a failed start. Scroll to the first error and copy it. Many later lines are consequences of the first. The table below matches what you see to the section that fixes it.
| What the console says | Go to |
|---|---|
| You need to agree to the EULA in order to run the server | EULA |
UnsupportedClassVersionError or "compiled by a more recent version of the Java Runtime" | Wrong Java version |
| FAILED TO BIND TO PORT or "Address already in use" | Port in use |
java.lang.OutOfMemoryError or "Java heap space" | Out of memory |
| Failed to load world data. World files may be corrupted | Damaged world |
| This world was created by an incompatible version | World from a newer version |
| A long stack trace naming a plugin or mod | Bad plugin or mod |
| Failed to load datapacks, can't proceed with server load | Bad datapack |
EULA not accepted
The server will not run until you accept Mojang's EULA. The message is "You need to agree to the EULA in order to run the server. Go to eula.txt for more info."
- Open eula.txt
Go to the Files tab and click
eula.txtin the server's main folder. - Accept it
Read the EULA, then change the value so it says:
eula=true - Save and start
Click Save, then start the server again.
Wrong Java version
UnsupportedClassVersionError means the server was built for a newer Java than the one running it. The message names two class-file versions, and the major version is the Java version plus 44. For example, class file 69 is Java 25.
| Minecraft version | Java needed |
|---|---|
| 26.1 and later | Java 25 |
| 1.20.5 to 1.21.11 | Java 21 |
| 1.18 to 1.20.4 | Java 17 |
Choose Java on the Mods tab, which also sets the server software. Do not downgrade Minecraft to fit an old Java. Mod loaders and plugins need to match as well, so check installing Forge and Fabric mods if you are modded. Older Minecraft versions need older Java, so follow the version's own requirement.
Port already in use
The console shows the server starting on an address and port, then "FAILED TO BIND TO PORT!" or "Address already in use". The usual causes are an old process that has not fully stopped, or a hand-edited server-ip or server-port in server.properties.
- Stop the server completely, wait a moment and start it again.
- On ChicagoServers the panel assigns the address and port, so leave
server-ipblank and do not changeserver-port. - If it keeps happening, contact support with the console output.
Out of memory
OutOfMemoryErroror "Java heap space": the server needs more RAM than it has. Check how much your players, mods and view distance need in how much RAM a Minecraft server needs.- The log just stops, sometimes in the middle of a line, with no error and no crash report. That can mean the server was stopped for using more memory than it is allowed. Treat it as a memory problem.
- Lower
simulation-distanceandview-distance, and remove mods or plugins you do not need. See the lag guide.
Damaged world or a world from a newer version
- "Failed to load world data. World files may be corrupted." means
level.datcannot be read. Restore a backup from the Backups tab. See the backup guide. - "This world was created by an incompatible version" means the world was saved by a newer Minecraft. Worlds cannot be downgraded, so run the version that saved it or restore a backup from before the upgrade.
- Some hosts suggest replacing
level.datwithlevel.dat_old. Only try it on a copy, with a backup in hand.
Bad plugin, mod or datapack
- Plugin or mod: a failure while loading is reported as a stack trace. Find the first package that is not
net.minecraft, since that names the culprit. If none is named, remove the most recently added file and try again, or disable them in halves to find it.NoClassDefFoundError,ClassCastExceptionandNoSuchMethodErrorusually mean a plugin or mod that does not match your Minecraft or server version. - Datapack: the message "Failed to load datapacks, can't proceed with server load" says you can fix the datapacks or reset to vanilla with
--safeMode. That is a launch option, so contact support and we will start it for you, then remove the faulty pack.
Other start problems
| What you see | Likely cause |
|---|---|
| Exit code 137 | Out of memory. |
| Exit code 1 and no clear error | A corrupted server jar or a bad setting. Check the first lines of the console. |
Invalid server.properties | A malformed value. Compare with server.properties explained. |
| Starts, then crashes on the first tick | Bad chunk or NBT data or a broken plugin. |
| Players cannot join after it starts | See the whitelist guide and can't connect guide. |
When you contact support, send the first error from the Console tab, the Minecraft version and server software, and what you changed last. Looking for a host? See Minecraft server hosting.
Frequently asked questions
Why won't my Minecraft server start?
Read the first error on the Console tab. The usual causes are an unaccepted EULA, the wrong Java version, a port conflict, running out of memory, a damaged world, or a bad plugin, mod or datapack.
How do I accept the Minecraft EULA on my server?
Open eula.txt on the Files tab, change the value to eula=true, save, and start the server again.
What does UnsupportedClassVersionError mean in Minecraft?
The server needs a newer Java than the one running it. Minecraft 26.1 and later needs Java 25, and 1.20.5 to 1.21.11 uses Java 21. Choose Java on the Mods tab.
Why does my Minecraft server stop with no error?
If the log just stops, even mid-line, the server may have been stopped for using more memory than it is allowed. Treat it as an out-of-memory problem and reduce load or add RAM.
How do I fix a corrupted Minecraft world?
Restore a recent backup from the Backups tab. Take a backup of the damaged world first, and do not edit world files while the server runs.