Uploaded image for project: 'Minecraft Launcher'
  1. Minecraft Launcher
  2. MCL-8387

Java launcher "Could not find or load main class net.minecraft.client.main.Main"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 1.6.76 (java)
    • None
    • None
    • I'm using Ubuntu 16.04 LTS, Java 8, and Minecraft Launcher version 1.6.82-j. I first noticed the problem using Minecraft 1.12.2, but I have tried several other versions and the problem persists.
    • Unconfirmed

      Basically what's happening is, the Minecraft Launcher, for whatever reason, can't access the main class in the jar. When I click "play", it downloads all the necessary files (jars, etc.), closes the launcher as if it were about to start, and then immediately opens back up with an error message under the Game Output tab.

      The error message is this: "OpenJDK 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
      Error: Could not find or load main class net.minecraft.client.main.Main"

      I have tried deleting the jar file, forcing it to re-download, but it still happens. I have also observed an identical error occurring on a separate computer, running the same operating system, java version, etc.

      I don't think the jar is corrupt, because inside the jar, there is, actually, a net.minecraft.client.main.Main class.

      UPDATE: I tried again with Minecraft 1.0, and the same thing happened but it said "Error: Could not find or load main class net.minecraft.launchwrapper.Launch". I'm assuming this is because the older versions of Minecraft had a different main class. This shows that the problem is with the launcher and not the actual Minecraft jar.

      THIS IS HAPPENING AGAIN AS OF TODAY, 11/19/18.

      Honestly, you'd think Mojang would be careful enough to not let a bug like this into production...

            Unassigned Unassigned
            andrew.sumsion Andrew Sumsion
            Votes:
            4 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: