Skip to content

Install JDK

Frank-Mayer edited this page Jun 1, 2023 · 2 revisions

Any other valid Java installation is fine. This is just a guide on how to install Java if it is not installed already.

Run java --version to see if Java is installed. Compare the installed version with this release table to check if you should update.

Arch Linux

sudo pacman -S jdk-openjdk

If an invalid Java environment link is set, calling the archlinux-java fix command tries to fix it. Also note that if no default Java environment is set, this will look for valid ones and try to set it for you. Officially supported package OpenJDK 8 will be considered first in this order, then other installed environments.

Mac

brew install openjdk

Debian

sudo apt install default-jdk

Windows

Download and run the Installer from Oracle

Clone this wiki locally