Java installieren

Java wird zum Ausführen von Sponge und Minecraft: Java Edition benötigt. Du hast Java wahrscheinlich bereits installiert, aber musst es möglicherweise aktualisieren.

SpongeAPI 7 and 8 requires Java 8 (specifically 1.8.0_20 or above). SpongeAPI 8 will also run on later versions of Java, we recommend Java 17 as the latest LTS version.

Java installieren

If you have Windows or macOS for your computer, you can download builds of OpenJDK from Adoptium here. Builds of Java 8, 11 and 17 are all available here.

Vielleicht musst du den Pfad zum JRE/JDK konfigurieren

  • der Launcher benutzt Profil (Erweiterte Optitionen) -> <Mein Profil> -> Java-Datei (.../java.exe)

  • Server benutzt die PATH Variable oder benutze den vollen Pfad um Java auszuführen

32-Bit vs. 64-Bit

If your computer supports it, you should use 64-bit versions of Java whenever possible. Most modern computers will be running 64-bit operating systems. The Adoptium site linked above should detect what you’re running and offer the correct download.

Es ist auch möglich, in das System-Info-Fenster zu sehen.

  • Windows: Drücke Super und Pause oder du suchst in Systeminfirmationen Sytemtyp.

  • Linux: Öffne ein Terminal und tippe arch or uname -m. i686 -> 32-bit. x86_64 -> 64-bit.

  • macOS: All supported Macs are 64-bit - however if you are running an Apple Silicon machine, choose arm64 over x64.

If you are sure to about your system’s architecture you can manually choose the correct installer yourself.