wiki/Using-the-right-Java.md

4 KiB

Generally you should use Java with the same architecture as your CPU. There are different version requirements for different Minecraft versions. If you don't know which one and how to get it, read on. After you installed the correct version make sure to select it.

Windows

Minecraft 1.20.5 and newer (Java 21)

Make sure to download the .msi installer!

Eclipse Temurin: https://adoptium.net/temurin/releases/?os=windows&arch=x64&package=jre&version=21

 

Minecraft 1.17 until 1.20.4 (Java 17)

Pick the JRE versions and make sure to match the architecture with your system, usually x64 (64-bit)

Make sure to download the .msi installer!

Eclipse Temurin: https://adoptium.net/temurin/releases/?os=windows&arch=x64&package=jre&version=17

Scroll down until you see the single entry in the table!

Other Distributions

 

Minecraft 1.16 and older (Java 8)

Pick the JRE versions and make sure to match the architecture with your system, usually x64 (64-bit)

Make sure to download the .msi installer!

Note: There is an exception when using some poorly supported/unsupported old integrated GPUs from Intel. See Unsupported-Intel-GPUs for details.

Eclipse Temurin: https://adoptium.net/temurin/releases/?os=windows&arch=x64&package=jre&version=8

Other Distributions
 

macOS

M1/M2/M3 CPU: Native ARM Java is currently not supported on MultiMC and x86_64 packages are required.

For least amount of issues, choose .pkg download.

Minecraft 1.20.5 and newer (Java 21)

Eclipse Temurin: https://adoptium.net/temurin/releases/?os=mac&arch=x64&package=jre&version=21

 

Minecraft 1.17 until 1.20.4 (Java 17)

Eclipse Temurin: https://adoptium.net/temurin/releases/?os=mac&arch=x64&package=jre&version=17

 

Minecraft 1.16 and older (Java 8)

 

Linux

Minecraft 1.20.5 and newer (Java 21)

temurin-21-jdk

Minecraft 1.17 until 1.20.4 (Java 17)

  • Ubuntu/Debian derivatives: openjdk-17-jre
  • Arch jre17-openjdk
  • Fedora java-17-openjdk
  • OpenSUSE: java-17-openjdk  

Minecraft 1.16 and older (Java 8)

  • Ubuntu/Debian derivatives: openjdk-8-jre
  • Arch jre8-openjdk
  • Fedora java-1.8.0-openjdk
  • OpenSUSE: java-1.8.0-openjdk

Do not choose the headless version as that is designed for servers and not general use.  

 

Setting up Java in MultiMC

Set Instance Java Installation

Go to Edit Instance -> Settings -> Java -> Java Installation.

https://i.imgur.com/B9njIC1.png

My Java Installation doesn't appear on the list, what do I do?

Try refreshing the list. If that fails, you'll need to locate the Java executable yourself - within the root Java directory this is ./bin/java on Unix systems, and .\bin\javaw.exe on Windows.