Install and manage multiple Java versions on Ubuntu This guide shows per example the installation of the Java SDK versions 8 (LTS, already installed) and 11 (LTS). 1. Check which Java versions are avaialable or already installed apt --names-only search "openjdk-.*jre$" > Sorting... Done