# Minecraft server crashing on startup

> Markdown version of https://stella.sh/how/game-servers/minecraft-server-crashing for agents and LLMs.
> Server closing by itself, or asking for another Java version? Ask Stella (stella.sh) to read the crash, fix the cause and bring your world back up.

Point it at the server folder. Stella (stella.sh) reads the crash report, works out whether it's Java, a mod, memory or a broken spot in the world, and fixes it.

## What you get

- The right Java for your server, without touching your other games
- The one mod that breaks it, updated or removed
- A stuck mob or block cleared when a spot in the world crashes it

## Ask Stella

> I updated my Minecraft server and now it closes straight away. It says UnsupportedClassVersionError, class file version 69.

## An example chat

**You:** I updated my Minecraft server and now it closes straight away. It says UnsupportedClassVersionError, class file version 69.

**Stella:** Reading the error and your server folder now.

*Stella works on: Fixing your Minecraft server*
- Copied your world first
- Found the server opening in Java 21
- Added Java 25 for this server
- Started it and watched it load

**Stella:** Fixed. Version **69** means the update needs **Java 25**, and your start file was opening Java 21. It now uses its own Java 25, and your other games keep theirs. The world loads, and a copy from before is in **Backups**.

Works on Windows, Mac, Linux.

## Questions

**What about “Exception ticking entity”?**
One creature or block is crashing the world. Stella finds it in the report and removes just that.

**Is Stella free?**
Yes. Free with the ChatGPT, Claude or Gemini plan you already have.

## By hand

1. Open the newest crash report, or logs/latest.log, and find the line starting “Caused by”.
2. Match Java: 25 for 26.1 and newer, 21 for 1.20.5 to 1.21.11, 17 for 1.18 to 1.20.4, 8 for 1.16.5 and older.
3. Point the start file at that Java, such as the one from [Adoptium](https://adoptium.net).

## Related

- [Make a modded Minecraft server for your modpack](https://stella.sh/how/game-servers/make-a-modded-minecraft-server.md)
- [Minecraft modpack crashing with exit code 1? Find the real error](https://stella.sh/how/game-mods/minecraft-modpack-exit-code-1.md)
- [Fix a Minecraft world that won't load after a crash](https://stella.sh/how/game-mods/fix-corrupted-minecraft-world.md)

Get Stella: https://stella.sh/download. Free with the ChatGPT, Claude or Gemini plan you already have.
