install java 11.0.2 ubuntu code example Example: how to install java 11 on ubuntu sudo add-apt-repository ppa:linuxuprising/java