Java のインストール

Java は Sponge と Java 版 Minecraft を実行するのに必要です。おそらくすでにインストールしているでしょうが、アップデートする必要があるかもしれません。

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 のインストール

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.

JRE/JDK のパスを通す必要があります。

  • ランチャーは Profile (Advanced Options) -> <Your Profile> -> Java-Executable (.../java.exe) から

  • サーバーは PATH 環境変数または 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.

システム情報ウィンドウから確認することもできます。

  • Windows: <Win><Pause> を同時押しするか システム情報 を使って システムの種類 を確認します。

  • Linux: ターミナルを開き arch または uname -m と入力します。 i686 が含まれているなら32ビット、 x86_64 が含まれているなら64ビットです。

  • 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.