How to fix error code 1 in Minecraft: Resolve the ‘Game Ended with Bad State – Exit Code 1’ issue

If you’ve been hit by Minecraft error code 1, this is what you need to do…

by Rob Leane

If you’ve been hit by Minecraft error code 1, seeing the message ‘Game Ended With Bad State – Exit Code 1’, we’ve got the answers you seek right here!

Even if you’re playing on a great gaming laptop or running the 8K version of Minecraft, there’s still a chance that something will go wrong and you’ll see error code 1 interrupting your gameplay.

READ MORE: Minecraft PS5 upgrade release date: Is Minecraft on PS5?

To find out how to fix Minecraft error code 1, keep reading…

What is the Minecraft Exit Code 1 error?

Although the exact triggers for this Minecraft error message are hard to nail down, we do know that it tends to occur for PC players, especially if their worlds are corrupted and/or you have a number of mods installed.

You might see a message such as ‘Minecraft closed with exit code: 1’, rendering you unable to play Minecraft.

Thankfully, there are some things you can try to resolve the issue after the fact.

READ MORE: Is Minecraft on Oculus Quest 2? How to play Minecraft on Oculus Quest 2

How to fix the Minecraft Exit Code 1 error

As a Wonder How To forum user called Pixel_Error has discovered, there is a tactic that could fix this error message for PC players. We’ll round it up for you now…

Step 1: First you need to open the Minecraft Launcher and click ‘Launch Options’

Step 2: In your settings, make sure the ‘Java executable’ box is checked/ticked/set to green.

Step 4: In the text box next to ‘Java executable’, you need to remove the w oat java, and make sure that the code in the box reads like so:

C:\Program Files (x86)\Minecraft\runtime\jre-x64\1.8.0_25\bin\java.exe

Step 5: Save your changes. And now you should be able to play the game just fine!

Step 6: If that didn’t work, you made need to delete and re-install Java and/or Minecraft itself. This is what we call the nuclear approach!

READ MORE: Is Minecraft on GeForce Now?

Rob Leane