-
Notifications
You must be signed in to change notification settings - Fork 0
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.
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.
brew install openjdk
sudo apt install default-jdk
Published under GPL-3.0 license