📅  最后修改于: 2022-03-11 14:51:33.015000             🧑  作者: Mango
sudo apt update
When the process finishes, install OpenJDK 8 using the following command:
sudo apt install openjdk-8-jdk -y
When the installation completes, test if Java was installed successfully checking the Java version:
java -version