Instalar o Java
O Java é necessário para correres o Sponge e o Minecraft: Java Edition. Provavelmente já tens o Java, mas poderás ter de o atualizar.
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.
Instalar o Java
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.
Podes ter de configurar o caminho para o JRE/JDK no teu:
launcher, utilizando
Profile
(Advanced Options
) -><o teu perfil>
->Java-Executable
(.../java.exe
)servidor, ou usando a variável
PATH
, ou usando o caminho absoluto para o teu executável Java
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.
Também é possível retirar esta informação da janela de informações do sistema.
Windows: Prime``<Win>`` +
<Pause>
ou viaSysteminformation
vê o teusystem type
.Linux: Abre um terminal e escreve
arch
ouuname -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.