Direct answer

Use the lines before exit code 1 to identify the real Java, mod, plugin, argument, or configuration failure.

Diagnosis to use: Exit code 1 only means the server process failed; the line immediately before it usually contains the actionable reason.

What it means

Exit code 1 only tells you the process ended unsuccessfully; the real Minecraft/Java/plugin/mod/configuration cause appears earlier in the startup or crash output.

Exit code 1 vs. 137

Exit code 1 is a generic process/application failure and you must read the preceding Java/server error. Exit code 137 on Unix/container hosting is a different clue: it commonly means the process received SIGKILL, often from an external memory limit or supervisor.

What to collect: Rerun using the panel’s full console or a terminal that preserves stderr. Record the final fatal exception and launch command. Check Java version, JVM flags, JAR path and file permissions in that order only if the logs suggest those causes.

If you are a player

  • This is a server-side startup problem. Send the owner the exact panel/console error; reinstalling your game client will not fix it.

If you run the server

  1. Read the first Java/JVM error before the final “server stopped” or panel exit-code summary.
  2. Run java -version in the same shell/container/panel runtime that actually launches the server.
  3. Verify the Java release and JVM arguments against the exact server software/version; remove old or copied flags that the current runtime rejects.
  4. Fix startup/runtime selection before changing world or plugin data, because Minecraft may not have started yet.

Targeted repair: Fix the first concrete error: for example a missing file, obsolete JVM option, incompatible Java release or broken mod. Avoid changing heap sizes just because the panel shows exit code 1.

Verify after the change: Run the identical startup command again and confirm the process stays alive after loading the world.

References

Use the documentation for the exact software and release you run. These sources support the settings or diagnostic behavior used in this fix.

Was this article helpful?
Help us improve this article

Tell us what is missing, unclear, outdated, or incorrect. You can also suggest something we should add.

What could we improve?
Do not include passwords, server IPs, or other private information.0 / 1000