Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-121339

[Ubuntu] Could not find or load main class net.minecraft.client.Main

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Duplicate
    • Affects Version/s: Minecraft 1.12.2
    • Fix Version/s: None
    • Labels:
      None
    • Environment:

      OpenJDK Version: 1.8.0_131
      OpenJDK Build: 1.8.0_131-8u131-b11-2ubuntu1.16.04.3-b11
      OS: Ubuntu 16.04 xenial
      Kernel: x86_64 Linux 4.4.0-97-generic
      CPU: Intel Core i5-6600K CPU @ 3.9GHz
      GPU: GeForce GTX 960

    • Confirmation Status:
      Unconfirmed

      Description

      When running from launcher:

      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
      

      When running directly: (user)

      java -jar 1.12.2.jar 
      Error: Could not find or load main class net.minecraft.client.Main
      

      When running directly: (root)

      # sudo java -jar 1.12.2.jar 
      Error: Could not find or load main class net.minecraft.client.Main
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                nathanthesnooper Nathan Franke
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: