Minecraft crashing on launch: what the errors mean and how to fix them
Crashed? Here's why.
When Minecraft: Java Edition crashes, the reason is written in its log, usually in the last lines before it closes. Most crashes come from a mod that doesn't match the version or loader, the wrong Java, too little memory, or an old graphics driver, and each has a plain fix.
Where do you find the crash log?
- In doki
- The live console opens with the game and keeps the whole log, with errors and warnings picked out. When the game crashes, doki names the likely cause, such as the mod that doesn't fit.
- Your mods stay on
- doki never switches a mod off for you. If one doesn't fit, the game stops with the loader's own message, and doki shows you which mod it was.
- Crash reports
- Minecraft writes a crash report to the crash-reports folder of the game or instance. The Description line near the top is the short reason.
- latest.log
- The logs folder holds latest.log, the full log of the last session. Read it from the bottom up.
- What to look for
- The first line saying ERROR or Exception, and any mod name it mentions.
What do the common errors mean?
The messages players search for most, and what usually causes them.
- Exit code 1
- A general failure, most often a mod that doesn't fit, the wrong Java or a bad Java argument. The log says which.
- java.lang.OutOfMemoryError
- The game ran out of the memory you gave it. Give it a little more, or remove heavy mods. Don't give it all your RAM.
- Failed to create backend, or an OpenGL error
- Minecraft couldn't start its renderer on your graphics. Update the graphics driver from Intel, AMD or NVIDIA, and make sure the game runs on your real GPU.
- Incompatible mods found
- Fabric found a mod that needs another mod, or a different version. Its message names both.
- Mixin errors
- Two mods are changing the same part of the game. Remove the last mods you added until it starts.
- UnsupportedClassVersionError
- The game, or a mod, needs a newer Java than the one that started it.
- Crash with no log
- Often the graphics driver or an overlay. Update the driver and turn off overlays and screen recorders, then try again.
Which Java does Minecraft need?
- 26.1 and newer
- Java 25.
- 1.20.5 to 1.21.11
- Java 21.
- 1.17 to 1.20.4
- Java 17.
- 1.16.5 and older
- Java 8, which many older mods also need.
- In doki
- You don't have to pick. doki installs the Java each Minecraft version asks for and checks the download before using it.
What to try, in order.
Change one thing at a time, then launch again.
- 1. Read the last error
- It usually names the mod or the cause. Fix that first.
- 2. Remove the newest mod
- If it crashed right after you added mods, take the last ones out.
- 3. Check versions
- Every mod must match the Minecraft version and the loader.
- 4. Update graphics drivers
- From your graphics card maker's site, not Windows Update alone.
- 5. Set memory sensibly
- About 2 GB on a 4 GB PC and 3 to 4 GB on 8 GB. More isn't faster.
- 6. Try a fresh instance
- If a plain Vanilla instance starts and your modded one doesn't, the cause is in the mods.
Read next.
- The live console
- How doki shows the game log and explains launch errors.
- Minecraft without premium
- How to Play Minecraft Without Premium
- Lunar Client alternative
- Lunar Client Alternative, No Premium Needed
- Minecraft PvP client
- Minecraft PvP Client for 1.21 and 26.x
- Minecraft emotes
- How to Emote in Minecraft Java Edition
- Install Minecraft mods
- How to Install Minecraft Mods: Fabric, Forge
- Minecraft on a low-end PC
- Minecraft for Low-End PC: RAM, Settings, Mods
- TLauncher alternative
- Looking for a TLauncher Alternative?
- Rust Minecraft launcher
- Rust Minecraft Launcher, Not Electron
- Minecraft shaders
- How to Use Shaders in Minecraft Java (Iris)
- Feather Client alternative
- Feather Client Alternative, No Premium Needed
Back in the game.
A live console that tells you why, and the right Java for every version.
