We are your new 5-Star Hosting Company. At least according to ★ Trustpilot

Following along with a Minecraft server? Deploy yours in minutes.

All servers come with a 24-Hour Trial, Free Backups, and 40Gbps DDoS Protection included!

Use code SAVE15 to take 15% OFF Your First Invoice with ChicagoServers! Limited Time!
Minecraft guide

Minecraft Server Won't Start: EULA, Java, Port and Memory Fixes

By the ChicagoServers team · Updated · 8 min read

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.

Quick answer
  • Open the Console tab and read the first error. Later errors are usually side effects.
  • "You need to agree to the EULA" means eula.txt must say eula=true. Edit it on the Files tab.
  • UnsupportedClassVersionError means 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.
  • OutOfMemoryError means 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
  1. Read the console first
  2. EULA not accepted
  3. Wrong Java version
  4. Port already in use
  5. Out of memory
  6. Damaged world or a world from a newer version
  7. Bad plugin, mod or datapack
  8. Other start problems
  9. Frequently asked questions

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 saysGo to
You need to agree to the EULA in order to run the serverEULA
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 corruptedDamaged world
This world was created by an incompatible versionWorld from a newer version
A long stack trace naming a plugin or modBad plugin or mod
Failed to load datapacks, can't proceed with server loadBad 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."

  1. Open eula.txt

    Go to the Files tab and click eula.txt in the server's main folder.

  2. Accept it

    Read the EULA, then change the value so it says:

    eula=true
  3. 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 versionJava needed
26.1 and laterJava 25
1.20.5 to 1.21.11Java 21
1.18 to 1.20.4Java 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-ip blank and do not change server-port.
  • If it keeps happening, contact support with the console output.

Out of memory

  • OutOfMemoryError or "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-distance and view-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.dat cannot 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.dat with level.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, ClassCastException and NoSuchMethodError usually 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 seeLikely cause
Exit code 137Out of memory.
Exit code 1 and no clear errorA corrupted server jar or a bad setting. Check the first lines of the console.
Invalid server.propertiesA malformed value. Compare with server.properties explained.
Starts, then crashes on the first tickBad chunk or NBT data or a broken plugin.
Players cannot join after it startsSee 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.

We are your new 5-Star Hosting Company. At least according to ★ Trustpilot

Following along with a Minecraft server? Deploy yours in minutes.

All servers come with a 24-Hour Trial, Free Backups, and 40Gbps DDoS Protection included!

We offer quality support, a detailed knowledgebase, video tutorials on most topics, and even live support in case you prefer a live human.

Use code SAVE15 to take 15% OFF Your First Invoice with ChicagoServers! Limited Time!