Early accessEarly accessPackquill is in early access: it works and makes a backup before every change, but you may still run into bugs.

“Exit Code: 1”

Exit code 1 is not the cause, only the sign that Java stopped with an error. The cause is written in the game's log.

All launchersFabricForgeNeoForgeQuilt

The message

Error message
Game crashed
An unexpected issue occurred and the game has crashed. We're sorry for the inconvenience.
Exit Code: 1

The full message is in the game folder: logs/latest.log for every start, and crash-reports/ for crashes that got far enough to write a report. In Prism, CurseForge and the Modrinth App, the instance's folder button opens the game folder.

What it means

When a Java program stops because of an error, it returns code 1 to whoever started it. The launcher shows that number. Almost every modded crash ends this way, so the code alone says nothing about which mod or setting is at fault.

The real reason is in the game folder. logs/latest.log holds the whole start; when the game got far enough, crash-reports/ holds a report with a “Description” line and the error below it.

How to fix it

  1. 1Open the game folder of the instance, then logs/latest.log in a text editor.
  2. 2Search for these words, from the bottom up: “Incompatible mods”, “Missing or unsupported”, “requires”, “Caused by:”, “Exception”, “ERROR”. The first error that names a mod or a file is usually the cause; later ones often follow from it.
  3. 3If there is a crash-reports folder, open the newest file. Read the “Description:” line and the first lines under it.
  4. 4Look for the message on this site's list of errors and follow that page.
  5. 5If the log names no mod: remove half of the mods (move them to another folder), start, and see if the crash stays. Keep halving the half that crashes until one mod is left.
  6. 6If it crashes even with no mods, the cause is Java, memory or the graphics driver; see the pages about those.

With Packquill

Packquill watches the game start after a change and reads the log and the crash report when it fails. It names the mod most likely at fault, puts back what changed if you want, and when the log names no mod, it walks you through the halving search: a few starts, and the mod is found.

Packquill is free for Windows and Linux. It backs up every change, so anything it does can be undone.

Questions

Does exit code 1 mean I need more RAM?

Not by itself. A lack of memory has its own message (“OutOfMemoryError”). Giving more RAM does not fix a missing or broken mod.

What about exit code -1073741819?

That number is a Windows access violation: the crash happened in native code, very often the graphics driver. See the graphics driver page.

Should I reinstall Minecraft?

Rarely helps. The game itself is almost never the cause; read the log first.