SALE

Sale on all game servers · up to −19% · discount already applied, no coupons

Test servers

Try it on our servers

We keep two servers open, one in Germany and one in Miami. Join from Java or Bedrock, on whatever version you run, and see how they perform before paying for anything.

If after the trial you decide it's not for you, you pay nothing. If you keep it, billing starts the next day at the regular price.

Error "Could not find or load main class" (Forge)

Minecraft servers 3 views Updated 2 Aug 2026

Why it shows on Forge servers and how to fix it with a clean reinstall.

This error on Forge servers usually means the Forge startup files (the unix_args.txt in the libraries folder) are broken or don't match the configured version.

How to fix it

  1. Note your exact Minecraft and Forge versions.
  2. In the panel use the MC Version and select Forge with that version.
  3. Let it reinstall the Forge files correctly.
  4. In the Startup tab, make sure the JAR parameter is at its default (don't edit it by hand).
  5. Start and check the console.

If it was caused by uploading a Forge version manually, let the MC Version handle it: it installs the right libraries for you.

Still failing? Open a ticket with your Forge version and the console output.

Was this article helpful?

Need more help?

Open a ticket and our team will get back to you fast.

Open a ticket