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.
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!
Azul: https://www.azul.com/downloads/?version=java-17-lts&os=windows&architecture=x86-64-bit&package=jre
Scroll down until you see the single entry in the table!
Other Distributions
- Eclipse Temurin: https://adoptium.net/temurin/releases/?version=17
- Select in the dropdowns "Windows" "x64" "JRE" and "17"
- Microsoft OpenJDK: https://docs.microsoft.com/en-gb/java/openjdk/download
- Oracle: https://www.oracle.com/java/technologies/downloads/#java17
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.
Azul: https://www.azul.com/downloads/?version=java-8-lts&os=windows&architecture=x86-64-bit&package=jre
Scroll down until you see the single entry in the table!
Other Distributions
- Eclipse Temurin: https://adoptium.net/temurin/releases/?version=8
- Select in the dropdowns "Windows" "x64" "JRE" and "8"
- Java.com: https://www.java.com/en/download/manual.jsp
Azul: https://www.azul.com/downloads/?version=java-17-lts&os=macos&architecture=x86-64-bit&package=jre
For least amount of issues, choose .dmg download.
Scroll down until you see the single entry in the table!
Native ARM Java is currently not supported on MultiMC and x86_64 packages are required for M1/M2/M3 computers.
- Go to https://www.java.com/en/download/manual.jsp
- Download the
Mac OS X
package. - Install it.
- Ubuntu/Debian derivatives:
openjdk-17-jre
- Arch
jre17-openjdk
- Fedora
java-17-openjdk
- OpenSUSE:
java-17-openjdk
- 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.
- In MultiMC, set it up using the
Auto detect
feature in the main settings - see [[Java-settings]] for details. - See [[Increasing Java's memory allocation]] for more details about Java memory settings.
Go to Edit Instance -> Settings -> Java -> Java Installation.
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.