OpenJDK-17-JDK

#Easy command to install any java version on RaspberryPi
sudo apt update 
sudo apt install openjdk-8-jdk

#Check if successful
java --version
Lost Programmer