How to fix Minecraft error Exit Code 1 in Windows?

Issue: Hello. I keep trying to launch Minecraft on my Windows PC but every time I receive the “Exit Code: 1”. How do I fix this?

Solved Answer

Minecraft is a popular sandbox video game in which players can construct and explore virtual worlds made of textured cubes, which was released in 2011. When playing Minecraft on Windows, users may encounter a “Exit Code 1” error. Typically, this error message indicates a problem with the Java[1] runtime configuration. This error, on the other hand, could be caused by outdated graphics drivers, incompatible mods, or corrupted game files.

The “Exit Code 1” error can have serious consequences for Minecraft players. It prevents them from starting the game, which can be aggravating for those who enjoy playing it on a regular basis. This error can also result in data loss or game file damage, affecting the player's progress.

Users can try reinstalling Java, updating graphics drivers, repairing game files, and removing incompatible mods to resolve the “Exit Code 1” error in Minecraft. However, the precise solution may be determined by the root cause of the error.

In this guide, you will find 7 steps that should help you fix Minecraft error Exit Code 1 in Windows. You can also try using a maintenance tool like FortectMac Washing Machine X9 that can fix most system errors, BSODs,[2] corrupted files, and registry[3] issues. Otherwise, follow the step-by-step instructions below.

How to fix Minecraft error Exit Code 1 in Windows

Solution 1. Update Graphics Driver

Outdated drivers could be the cause of this issue. In this case, you can fix it automatically by using DriverFix, which will scan your PC for missing and out-of-date device drivers. Or you can update them manually:

  • Open Settings.
  • Click on Update & Security.
  • Click on Windows Update.
  • Click the Check for updates button.
  • Click the View optional updates option.
  • Click the Driver updates tab.
  • Select the driver you want to update.
  • Click the Download and install button.

Update Graphics Driver

If the View optional updates link is not available after checking for updates, then Windows Update does not have any new drivers or any updates for other products at that particular time.

Solution 2. Remove Outdated Mods

Fix it now! Fix it now!
To repair damaged system, you have to purchase the licensed version of Fortect Mac Washing Machine X9.
  • Press the Windows key + R on your keyboard.
  • Type %appdata% in the Run dialog box that appears.
  • Click on the OK button to open the AppData\Roaming folder in File Explorer.
  • Find and open the .minecraft folder.
  • Look for the mods folder inside the .minecraft folder.

Remove Outdated Mods

  • Right-click on each mod one by one that you want to delete.
  • Select Delete from the context menu that appears.
  • Repeat the steps until you have deleted all the mods you want to remove.
  • Once all the mods are removed, close File Explorer.
  • Relaunch Minecraft to see if the error is resolved.

Solution 3. Repair Minecraft Launcher

  • Press the Windows key + I on your keyboard to open Windows settings.
  • Click on the Apps tab located on the left pane.
  • Click on the Installed Apps option to view a list of all installed apps.
  • Search for Minecraft Launcher in the list of installed apps.
  • Once you have located Minecraft Launcher, click on the three-dots menu located beside its name.
  • From the context menu that appears, select Advanced Options.
  • Scroll down to the Reset section and click on Repair.

Repair Minecraft Launcher

  • Wait for Windows to perform a quick repair, and a checkmark will appear once the repair is complete.
  • Close the Advanced Options window and relaunch Minecraft Launcher.
  • Check for any improvements in Minecraft Launcher.

Solution 4. Change the Minecraft Launcher File Path

Fix it now! Fix it now!
To repair damaged system, you have to purchase the licensed version of Fortect Mac Washing Machine X9.
  • Right-click on the Minecraft Launcher shortcut on your desktop or taskbar.
  • Select Properties from the context menu that appears.
  • In the Properties dialog box, open the Shortcut tab.
  • In the Target field, add the following line to change the working directory for Minecraft Launcher: –workDir %ProgramData%.minecraft after the existing file path.
  • Your target field will look something like this: C:\Program Files (x86)\Minecraft Launcher\MinecraftLauncher.exe” –workDir %ProgramData%.minecraft

Change the Minecraft Launcher File Path

  • Click on the Apply button and then on OK to save the changes.
  • Close the Properties dialog box.
  • Relaunch Minecraft and check for any improvements.

Solution 5. Change the Java Executable Path

  • Open the Minecraft Launcher.
  • Select the Minecraft Java Edition tab located on the left pane of the launcher window.
  • Click on the Installations tab located on the toolbar.
  • Hover your mouse over the Latest Release option and click the three-dot menu that appears.
  • Select Edit from the context menu that appears.
  • Click on More Options to view additional options.
  • Click on Browse to add a Java executable.
  • Navigate to your Java installation. By default, the JRE file path is C:\Program Files (x86)\Java\jre1.8.0_361\bin

Change the Java Executable Path

  • Select the java.exe file and click on Open.
  • 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.

Solution 6. Reinstall Minecraft

Fix it now! Fix it now!
To repair damaged system, you have to purchase the licensed version of Fortect Mac Washing Machine X9.
  • Press the Windows key + R keys to open the Run dialog.
  • In the Run dialog box, type %appdata%\ and click OK to open the Roaming folder.
  • Open the .minecraft folder.
  • Right-click on the saves folder and select Copy.
  • Paste the saves folder outside of the .minecraft folder.

Reinstall Minecraft

  • Return to the Roaming folder and delete the .minecraft folder to uninstall the game.
  • Restart your computer.
  • To reinstall Minecraft, open the Minecraft Launcher. It will start the installation process automatically.
  • Follow the on-screen instructions to complete the installation process and sign in with your Minecraft account.
  • Next, move the saves folder back to the following location: C:\Users\[Username]\AppData\Roaming\.minecraft
  • Relaunch Minecraft to check if the error is resolved.

Solution 7. Reinstall Java

  • Go to the Java download page.
  • Select the correct version of Java for your Windows computer.
  • Choose either the Windows Online or Offline version of Java. If applicable, download the 64-bit version.
  • Run the Java installer.

Reinstall Java

  • Follow the on-screen instructions to complete the installation process.
  • Once the installation is complete, restart your computer.
  • Check for any improvements after the restart.

Repair your Errors automatically

ugetfix.com team is trying to do its best to help users find the best solutions for eliminating their errors. If you don't want to struggle with manual repair techniques, please use the automatic software. All recommended products have been tested and approved by our professionals. Tools that you can use to fix your error are listed bellow:

Offer
do it now!
Download Fix
  Happiness
Guarantee
do it now!
Download Fix
  Happiness
Guarantee
Compatible with Microsoft Windows Compatible with OS X
Still having problems?
If you failed to fix your error using FortectMac Washing Machine X9, reach our support team for help. Please, let us know all details that you think we should know about your problem.
Fortect - a patented specialized Windows repair program. It will diagnose your damaged PC. It will scan all System Files, DLLs and Registry Keys that have been damaged by security threats.Mac Washing Machine X9 - a patented specialized Mac OS X repair program. It will diagnose your damaged computer. It will scan all System Files and Registry Keys that have been damaged by security threats.
This patented repair process uses a database of 25 million components that can replace any damaged or missing file on user's computer.
To repair damaged system, you have to purchase the licensed version of Fortect malware removal tool.To repair damaged system, you have to purchase the licensed version of Mac Washing Machine X9 malware removal tool.

Access geo-restricted video content with a VPN

Private Internet Access is a VPN that can prevent your Internet Service Provider, the government, and third-parties from tracking your online and allow you to stay completely anonymous. The software provides dedicated servers for torrenting and streaming, ensuring optimal performance and not slowing you down. You can also bypass geo-restrictions and view such services as Netflix, BBC, Disney+, and other popular streaming services without limitations, regardless of where you are.

Don’t pay ransomware authors – use alternative data recovery options

Malware attacks, particularly ransomware, are by far the biggest danger to your pictures, videos, work, or school files. Since cybercriminals use a robust encryption algorithm to lock data, it can no longer be used until a ransom in bitcoin is paid. Instead of paying hackers, you should first try to use alternative recovery methods that could help you to retrieve at least some portion of the lost data. Otherwise, you could also lose your money, along with the files. One of the best tools that could restore at least some of the encrypted files –  Data Recovery Pro.

About the author
Jake Doe
Jake Doe - Computer technology geek

Jake Doe is the news editor at UGetFix. Since he met Ugnius Kiguolis in 2003, they both launched several projects that spread awareness about cybercrimes, malware, and other computer-related problems.

Contact Jake Doe
About the company Esolutions

References

What you can add more about the problem: "How to fix Minecraft error Exit Code 1 in Windows?"