sudo apt install openjdk 14 jdk not working code example Example: sudo apt install openjdk-14-jdk $ apt search openjdk