Instalacja Java

Java jest wymagana do uruchomienia Sponge oraz Minecrafta: Java Edition. Najprawdopodobniej masz już zainstalowaną Javę, ale możliwe że będziesz potrzebował ją zaktualizować.

Sponge requires Java 8 (specifically 1.8.0_20 or above) at this time. Older Java versions are deprecated and will not work with Sponge. The difference between major versions of Java (6, 7, 8) is significant, and older versions cannot run Sponge properly. Currently, Sponge will not run with versions of Java greater than 8 either.

Instalacja Java

Jeśli Twoim systemem jest Windows lub macOS, możesz pobrać Javę z jej oficjalnej strony.

Linux users can install OpenJDK via their package manager. OpenJDK is the open source version of the Oracle version of Java, and it should work just as well, if not better. However, it’s also possible to download the Oracle version for Linux, but be aware that many Java-dependent Linux packages will still install OpenJDK anyway.

You may have to configure the path to the JRE/JDK in your

  • launcher using Profile (Advanced Options) -> <Your Profile> -> Java-Executable (.../java.exe)

  • server using either the PATH variable or using the full path to your java executable

32-bit kontra 64-bit

If your computer supports it, you should use 64-bit versions of Java whenever possible. The Java installers from the this website should detect whether your computer is ready for 64-bit. However, the autodetection is sometimes wrong (try different browsers, if you are unsure).

It is also possible to look this up in the system information window.

  • Windows: Press <Win> + <Pause> or via Systeminformation have a look at your system type.

  • Linux: Open a terminal and type arch or uname -m. i686 -> 32-bit. x86_64 -> 64-bit.

  • Mac: There is only one download anyway…

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

Jako, że 64-bitowa wersja Java działa jednoznacznie lepiej i pozwala na wykorzystanie więc niż ~3GB twojej pamięci RAM, to właśnie jej zalecamy używać zamiast wersji 32-bit.

Większość nowoczesnych komputerów obsługuje 64-bit.

JDK a JRE

JRE (Java Runtime Environment) jest używane do uruchamiania aplikacji stworzonych w Java. Podany wyżej link pozwala na pobranie JRE.

The JDK (Java Development Kit) is used to create Java applications, and you do not need it unless you plan to make Sponge plugins or work on Sponge. However, in some cases, you may need the JDK to diagnose a running Java application such as Sponge. You can download the JDK from a different site.