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

I cannot launch server.jar

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 1.17
    • None
    • Unconfirmed
    • (Unassigned)

      On Raspberry Pi 4, i've tried to start 1.17 Java server (server.jar file). When i typed command

      java Xmx1024M Xms1024M jar server.jar nogui

      terminal listed this error:

      Error: LinkageError occurred while loading main class net.minecraft.server.Main
      java.lang.UnsupportedClassVersionError: net/minecraft/server/Main has been compiled by a more recent version of the Java Runtime (class file version 60.0), this version of the Java Runtime only recognizes class file versions up to 55.0

      I've double-checked if update is available and reinstalled JDK, but didn't work

      On Windows 10, i just double clicked on server.jar. Two error windows showed up. (Screenshots in attachment)

      Double-checked if update is available and Java reinstalled too, but didn't work.

            Unassigned Unassigned
            Anonym2000TM Jan Egermajer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: