User Tools

Site Tools


player:tutorials:java:linux

Install/Verify Java (Linux)

You will need Java installed if you want to:

  • run the current version of the Fabric Installer
  • use MultiMC
  • change the default “JAVA EXECUTABLE” to other than the bundled Java runtime in a Minecraft Launcher “Installation”

STEP 1: Verify if Java is already installed

Open a terminal window and execute java -version.

If it returns with something like this, Java is already installed.

saiko@invader ~ % java -version
openjdk version "14.0.1-internal" 2020-04-14
OpenJDK Runtime Environment (build 14.0.1-internal+14-adhoc..jdk14u-jdk-14.0.17)
OpenJDK 64-Bit Server VM (build 14.0.1-internal+14-adhoc..jdk14u-jdk-14.0.17, mixed mode, sharing)

STEP 2 Install Java

Install Java using your distribution's package manager. This step will vary across distros, so in case it is not listed here, please refer to your distro's documentation.

Arch Linux

Install the latest JRE with this command:

pacman -S jre-openjdk

If you want to also develop mods, you need to install the JDK instead.

pacman -S jdk-openjdk

For more information, see the wiki article.

Fedora

Install the JRE for Java 8 with this command:

sudo dnf install java-1.8.0-openjdk-headless

If you want to also develop mods, you need to install the JDK instead.

sudo dnf install java-1.8.0-openjdk-devel

For more information, see the wiki article.

Gentoo

Install the latest JRE with this command:

emerge jre

If you want to also develop mods, you need to install the JDK instead.

emerge jdk

For more information, see the wiki article.

Void Linux

Install the latest JRE with this command:

xbps-install openjdk-jre

If you want to also develop mods, you need to install the JDK instead.

xbps-install openjdk
player/tutorials/java/linux.txt · Last modified: 2020/07/05 18:02 by ancurio