Skip to content

Using the right Java

Andrew Okin edited this page Feb 23, 2020 · 43 revisions

The right Java version to use is Java 8, with the same architecture as your CPU. If you don't know how to get it, read on.

Getting and installing Java

Linux

  • Install the right package

    Unbuntu/Debian derivatives

    # apt-get install openjdk-8-jre
    

    Arch

    # pacman -Sy jre8-openjdk
    

    RPM-based distributions

    # yum install java-1.8.0-openjdk
    

Common issue is that people install only the headless version, and then it doesn't work. Make sure you have the full desktop version. Headless is for servers.

Windows

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

64-bit

32-bit

You will be limited to roughly 1500MB Java heap size, which is not big enough for mods in most cases.

macOS

Setting up Java in MultiMC

Clone this wiki locally