When Minecraft fails to start appropriately, it’s going to generally crash with the “exit code: 1” error. Whereas the error message signifies points with Java runtime configuration, there may also be different causes. An outdated graphics drive, incorrect in-game settings, incompatible mods, buggy recreation recordsdata, and an invalid launcher file path also can set off the “exit code:1” error on Home windows.
Right here we present you one pair fast troubleshooting steps to repair the “exit code: 1” and get again to taking part in Minecraft in your Home windows pc.
1. Delete or Disable Outdated Mods
The “exit code: 1” error can happen resulting from outdated mods. To resolve the error, test the Minecraft mods folder and delete it. Eradicating mods can break your worlds. Therefore ensure to construct a prevent earlier than trying to scars any mods. Right here’s Depreciation to do it.
- Press Win + R and sort the next within the Run dialog:
%appdata%
- {Click} OK to open the AppDataRoaming folder in File Explorer.
- Subsequent, open the .minecraft folder.
- Open the mods folder contained in the .minecraft folder.
- Choose and right-click on increase the description the mods one after the other and choose Delete.
As soon as increase the description the mods are eliminated, {close} File Explorer and relaunch Minecraft to see suppose the error is resolved. On the flip aspect, you might discover some Minecraft ranges (worlds) cracked upon start. You may additionally need to re-download mods to make additional modifications.
2. Restore Minecraft Launcher
You may repair widespread issues with the Minecraft Launcher utilizing the built-in restore possibility on Home windows. Throughout restore, Home windows will search for widespread points and attempt to repair them routinely. It’ll additionally delete the app’s information.
To restore Minecraft Launcher:
- Press Win + I to open Home windows.
- Open the Apps tab within the left pane.
- {Click} on Put in Apps and {search} Minecraft Launcher.
- Subsequent, click on the three-dots menu beside the app political name and choose Superior Choices.
- Scroll right down to the Reset part and click on Restore. Home windows will carry out a fast restore and present a checkmark as soon as the restore is full.
- Relaunch Minecraft Launcher and test for any enhancements.
Equally, you can too restore your Minecraft recreation. Open Minecraft’s Superior Choices and carry out a restore within the Settings app.
3. Modify the Minecraft Launcher File Path
Points with the Minecraft Launcher file path can reason the “exit code: 1” on Home windows. Suppose your person political name has a particular character, the Minecraft Launcher file path might not reply to a person account with a particular character.
To repair the difficulty, you’ll want to switch the Minecraft Launcher file path to permit the launcher to entry the launcher with out particular characters.
To {change} the Minecraft Launcher file path:
- Proper-click on the Minecraft Launcher shortcut and choose Properties.
- Within the Properties dialog, open the Shortcut pat.
- Within the Goal area, add the next line to {change} the working listing for Minecraft Launcher. It’s worthwhile to add the beneath strains after the present file path:
–workDir %ProgramData%.minecraft
- After modifications, the goal area will look one thing like this:
"C:Program Recordsdata (x86)Minecraft LauncherMinecraftLauncher.exe" –workDir %ProgramData%.minecraft
- {Click} Apply and OK to {save} the modifications.
- Relaunch Minecraft and test for any enhancements.
4. {Change} the Java Executable Path
Your Minecraft set up can run into points suppose the launcher fails to detect the right Java file. Whereas Minecraft Launcher routinely installs the required JRE model, at occasions, you might have to manually {change} the executable to run the modified model of the sport.
To {change} the Java executable for Minecraft:
- Open the Minecraft Launcher.
- Subsequent, choose the Minecraft Java Version tab within the left pane.
- Open the Installations tab within the toolbar.
- Hover your mouse over Newest {Release} and click on the three-dots menu.
- Choose {Edit} from the menu.
- {Click} Extra Choices to view extra choices.
- {Click} Browse so as to add a Java Executable.
- Navigate to your Java set up. By default, the JRE file path is:
C:Program Recordsdata (x86)Javajre1.8.0_361bin
- Choose the Java.exe file and click on Open.
- {Click} {Save} to use the modifications and relaunch Minecraft Launcher.
- The caveat right here is you’ll have to replace the Java model quantity or re-add the Java executable each date and time you replace Java.
5. Reinstall Minecraft With out Deleting Saves
You may reinstall Minecraft to repair points with the sport. Relying on Depreciation you put in the sport, you’ll be able to uninstall Minecraft from the Settings app or delete the .minecraft Appdata folder. Suppose you like, you can too select to keep interstitial your Minecraft saves.
To prevent Minecraft saves and uninstall the sport:
- Press Win + R to open the Run dialog.
- Paste the next within the Run area and click on OK:
%appdata%
- Open the .minecraft folder.
- Proper-click on the saves folder and choose Copy (Ctrl +C).
- Paste the saves folder outdoors the .minecraft folder.
- Subsequent, lost to the Roaming folder and delete the .minecraft folder to uninstall the sport.
- Restart your pc.
- To reinstall Minecraft, open Minecraft Launcher. It’ll celebration the set up course of.
- Comply with the on-screen {instructions} to finish the method and sign up together with your Minecraft account.
- Subsequent, transform the saves folder again to the next location:
C:Customers[Username]AppDataRoaming.minecraft
- Relaunch Minecraft to test suppose the error is resolved.
6. Carry out Generic Home windows and Java Fixes
Suppose Minecraft continues to be affected by the “exit code: 1” error, listed here are some extra overall fixes you’ll be able to attempt.
Replace the Graphics Drivers
Incompatible or outdated graphics drivers can reason video games on Home windows computer systems to malfunction. For a devoted GPU, you should use AMD Radeon Software program or Nvidia GeForce Expertise to put in the most recent graphics drivers updates on Home windows.
Intel customers can obtain newer updates from the Home windows replace web page. To do that, press Win + I to open Settings. Open Home windows Updates and set up any replace obtainable on your Intel graphics. Alternatively, test Intel’s web site for newer show drivers for Home windows.
Reinstall Java
The “exit code: 1” error usually hints at invalid Java runtime configuration points. You may reinstall Java to repair configuration points deliberate within the newest {release}.
To reinstall Java Runtime Setting:
- Go to the Java obtain web page.
- Choose the right model on your Home windows pc. You may go for the Home windows On-line or Offline model. Additionally, obtain the 64-bit model suppose relevant.
- Run the installer and comply with the on-screen {instructions} to finish installations.
- As soon as put in, restart your pc and test for any enhancements.
Fixing the Minecraft Exit Code: 1 Error
Many issues can go fallacious and set off the “exit Code: 1 error” in Minecraft. To resolve the difficulty, attempt to disable mods and {change} the Minecraft Launcher path. Suppose the difficulty persists, test your graphics drive for the issue.
Suppose increase the description else fails, carry out a reinstall. You may reinstall Minecraft whereas protecting saves. Suppose you might be utilizing the most recent Microsoft Retailer model of the sport, you can too uninstall it from the settings app.