Gaming · Windows PC

Fix Minecraft Java Crashing on Startup

Source-checked About 15 minutes

Answer

Create a clean Java installation in the official Minecraft Launcher. If it reaches the main menu, the previous installation's mods or advanced settings caused the failure; restore them one at a time. If the Launcher itself crashes before Minecraft opens, repair the Windows app or use the Gaming Services Repair Tool. Back up worlds before any reinstall.

Guide steps6 steps
  1. Identify what closes
  2. Create a clean same-version installation
  3. Use the clean result
  4. Update only supported dependencies
  5. Repair the Launcher when it is the failure
  6. Verify the startup
  7. If it still does not work

Identify what closes

Open the official Launcher once and record the complete message. If the Launcher itself closes before Minecraft opens, skip to the Launcher repair step. Continue here when Java Edition closes after you select Play.

Create a clean same-version installation

In the Launcher, select Minecraft: Java Edition > Installations > New installation. Name it Clean test, choose the same game version as the failing installation, then select Install and launch it.

Use the clean result

If the clean installation reaches the main menu, return to the old installation and remove downloaded mods plus custom JVM or resolution settings. Restore one item at a time and test after each change.

Update only supported dependencies

If the clean installation also crashes, install available operating-system updates and the current graphics driver from your PC or GPU manufacturer. Close other active programs, restart Windows, and test the clean installation again.

Repair the Launcher when it is the failure

If the Launcher itself crashes or freezes, run the Gaming Services Repair Tool from the Xbox app, or open Windows Settings > Apps > Installed apps > Minecraft Launcher > Advanced options > Repair. Reopen the Launcher after repair.

Verify the startup

Launch the same installation twice. Success means Java Edition reaches its main menu without closing. If it still fails, keep the complete message or crash report for Minecraft Support; back up worlds before any reinstall.

If it does not work

  • If the crash returns after one mod is restored, remove that mod and verify its Minecraft version and loader compatibility on the mod author's release page.
  • If the report names OutOfMemoryError or you changed -Xmx, use Minecraft Help's memory-allocation procedure instead of guessing a RAM value.
  • Do not delete .minecraft, temporary folders, or world folders. Reinstall only after backup and only if repair and clean-install testing fail.
Sources and verification

Checked against official documentation on . Scope: Windows PC, Minecraft Java Edition.

Source-checked against Minecraft's current clean-installation, crash, Launcher-repair, and memory guidance.

Continue with

Browse more Minecraft tutorials