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