Skip to main content
warningJava ErrorsAffects: All versions

How to Fix ZipException: Invalid LOC Header

Fix ZipException by re-downloading the corrupted jar file from its official source.

Quick Fix

Re-download the corrupted mod jar from CurseForge or Modrinth.

Error Message

java.util.zip.ZipException: invalid LOC header (bad signature)

How to Fix

1

Delete and re-download the corrupted jar

2

Check all jars by trying to open them with a zip tool

3

Scan disk for file system errors

Common Causes

  • Corrupted jar file in the mods folder
  • Incomplete download of a mod
  • File system corruption affecting jar files

Diagnostic Steps

  1. Identify the jar from the error
  2. Delete it
  3. Re-download from official source
  4. Restart

FAQ

How do I know which jar is corrupted?

The error message usually names the file. If not, remove mods one by one until it works.

Related Errors

Need More Help?