Minecraft Error Code 1: Here’s The Simplest Fix

If you're currently experiencing Minecraft Error 1, keep reading for solutions 🎯


Minecraft is the best-selling video game in history. Since its release, the game’s developers have released numerous updates to improve the game’s quality and overall experience.

Games generally come with their own set of bugs, and Minecraft is no exception. Many players have reported error code 1 which comes with the message: “Game ended with Bad State: Exit Code 1”.

This can be frustrating as it can ruin the sandbox experience. Read on to find out what Minecraft Error Code 1 is, why it happens in the first place, and how to fix it.

What is the Minecraft Error Code 1?

Minecraft requires a specific version of Java to run properly. If there are issues with the configuration of Java on your PC, Minecraft may fail to run properly. Therefore, Minecraft Error Code 1 is caused by issues with Java runtime configuration.

Other reasons, such as incorrect in-game settings, outdated graphics driver, corrupted game files, incompatible mods, and an invalid launcher file path, can also cause the error.

How to Fix Minecraft Error Code 1?

Table of contents:

  1. Repair Minecraft Launcher
  2. Modify the Minecraft Launcher File Path
  3. Delete or Disable Outdated Mods
  4. Update Graphics Drivers
  5. Change the Java Executable Path
  6. Reinstall Minecraft Without Deleting Saves

1. Repair Minecraft Launcher

  1. To open Windows, press Win+I.
  2. In the left pane, select the Apps tab.
  3. Locate Minecraft Launcher under Installed Programs.
  4. To access advanced options for Minecraft Launcher, click the three-dots menu next to the app name.
  5. And select Advanced Options.
  6. Scroll down to the Reset section and click the Repair option. Windows will perform a quick repair and a checkmark will appear when the repair is complete.
  7. After the repair is complete, restart the Minecraft Launcher and check for any improvements.

2. Modify the Minecraft Launcher File Path

  1. Right-click on the Minecraft Launcher shortcut and select Properties.
  2. In the Properties tab, open the Shortcut tab.
  3. In the Target field, add the following line after the existing file path to change the working directory for Minecraft Launcher:  
    • -workDir %ProgramData%.minecraft
  4. After making modifications, the target field will look something like this:
    • “C:\Program Files (x86)\Minecraft Launcher\MinecraftLauncher.exe” -workDir %ProgramData%.minecraft
  5. Click Apply and OK to save the changes.
  6. Relaunch Minecraft and check for any improvements.

3. Delete Outdated Mods

  1. Press Win+R to open the Run dialogue box.
  2. In the Run dialogue box, type %appdata%.
  3. Click OK to open the AppData\Roaming folder in File Explorer.
  4. Navigate to the .minecraft folder.
  5. Open the Mods folder inside the .minecraft folder.
  6. Select each mod one at a time, right-click and select Delete.

4. Update Graphics Drivers

Time needed: 4 minutes

Keeping your graphics driver up-to-date is always a good idea to ensure the best possible performance and user experience.

  1. Open the Start Menu and search for Device Manager.

  2. Click on Device Manager to open it.

  3. Double-click on Display Adapters to expand the category.

  4. Right-click on your GPU driver and click on Update driver.

    Update driver

  5. Choose the option “Search automatically for drivers”.

  6. Follow the on-screen instructions to finish the update process.

  7. Restart your PC for the changes to take effect.

Alternatively, we recommend using DriveFix, a tool that repairs all out-of-date drivers. Drivefix will not only scan your PC for missing and out-of-date device drivers but also provide a detailed report of all of your up-to-date and out-of-date device drivers.

⇒ Get Outbyte Driver Updater

5. Change the Java Executable Path

  1. Open the Minecraft Launcher.
  2. Select the Minecraft Java Edition tab from the left pane.
  3. Click on the Installations tab in the toolbar.
  4. Hover your mouse over the Latest Release and click on the three-dots menu.
  5. From the menu, select Edit.
  6. Click on More Options to view additional options.
  7. Click on Browse to add a Java Executable.
  8. Navigate to your Java installation directory. By default, the JRE file path is: C:\Program Files (x86)\Java\jre1.8.0_361\bin
  9. Select the Java.exe file and click on Open.
  10. Click on Save to apply the changes and relaunch Minecraft Launcher.

Note that you will need to update the Java version number or re-add the Java executable every time you update Java.

6. Reinstall Minecraft Without Deleting Saves

  1. Press Win + R to open the Run dialog.
  2. Paste “%appdata%” in the Run field and click on OK.
  3. Open the .minecraft folder.
  4. Right-click on the saves folder and select Copy (Ctrl + C).
  5. Paste the saves folder outside the .minecraft folder.
  6. Go back to the Roaming folder and delete the .minecraft folder to uninstall the game.
  7. Restart your computer.
  8. To reinstall Minecraft, open Minecraft Launcher. It will start the installation process.
  9. Follow the on-screen instructions to complete the process and sign in with your Minecraft account.
  10. Move the saves folder back to the following location: C:\Users[Username]\AppData\Roaming.minecraft.
  11. Finally, relaunch Minecraft to check if the error is resolved.

Related articles:


We hope one of the solutions listed above has helped you fix Minecraft Error Code 1. Go through our website which features a bunch of gaming news and fixes for your favourite games. Also, feel free to leave us any comment, question, or concern in the comment section below.

You might also like
Leave A Reply

Your email address will not be published.