Download Article
Fix the Exit Code 1 or negative 1 in Minecraft
Download Article
Do you keep getting Error Code 1 or -1 on Minecraft? This usually happens when you have a mod version that's different from your Minecraft version. To fix this, update your mods and your graphics driver. Here's how to fix Minecraft Exit Code 1
What Is Error Code 1 in Minecraft?
Minecraft Exit Code 1 is caused by an incompatible mod with your current version of Minecraft. To fix this, update the mod to your current version. You should also update your drivers and check the Java Executable file location.
Steps
-
Check your Minecraft version. You can check this by launching Minecraft and clicking the Installations tab at the top. The version number will be underneath Latest release .
- If you're using mods, you'll need to make sure the mod version is the same as your Minecraft version. If you have an older version of Minecraft, you'll need to make sure the mod runs the same version.
-
Check your mod versions. Unless you changed the mod location, you should find your mods in AppData > Roaming > Minecraft.
- Most mods will have the version listed in their name.
Advertisement -
Update the mods. Head to https://www.curseforge.com/minecraft or another mod website to download the new version of the outdated mod. Once downloaded, replace the old version in the mod folder.
- Use the search field to enter the mod's name.
- Once you select a mod, click the Files tab to download the new version.
- If you're using an older version of Minecraft, download the same version of the mod.
-
Restart your computer. This will make sure your new mods are applied properly.
Advertisement
-
Open the Device Manager. Click the Start menu and type "device manager". This will be the first option.
- If you're still receiving the Exit Code 1 error, you may need to update your graphics driver.
-
Right-click your graphics driver. This is usually under Display adapters ; you may need to expand the option to find it.
Advertisement
-
Right-click the Minecraft icon and click Properties . This will be in the drop-down menu.
- You may receive Exit Code 1 if you have special characters in your Windows username. This method will make the Minecraft launcher ignore these characters.
- If you aren't on the Shortcut tab already, click it at the top.
-
Click the "Target field". This is underneath Target location . Don't delete the existing path.
-
Enter -workDir %ProgramData%.minecraft . This goes after the existing path.
-
Click Apply , and then OK . Your changes will be saved.
- Be sure to restart your computer before trying Minecraft again.
Advertisement
-
Open the Minecraft launcher. You may receive Exit Code 1 if the launcher can't find the Java Executable file. To fix this, you can manually select the location.
-
Click Minecraft: Java Edition . This is on the left side of the launcher.
-
Click Installations . This is at the top.
-
Click ••• next to "Latest release". A drop-down menu will open.
-
Click Edit . A new page will open.
-
Click Browse next to "Java Executable. The File Explorer will open.
-
Select the Java.exe file. If you didn't move the file, you can find it in Program Files > Java > jre-1.8 > bin.
-
Click Save . Once saved, close the game and open it again.
Advertisement
Expert Q&A
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
Advertisement
Video
Tips
Submit a Tip
All tip submissions are carefully reviewed before being published
Name
Please provide your name and last initial
Thanks for submitting a tip for review!
References
About This Article
Thanks to all authors for creating a page that has been read 6,643 times.
Advertisement