install jdk 14 on ubuntu 18.04 code example
Example 1: sudo apt install openjdk-14-jdk
$ apt search openjdk
Example 2: ubuntu install jdk 14
sudo add-apt-repository ppa:linuxuprising/java
sudo apt-get update
sudo apt-get install oracle-java14-installer oracle-java14-set-default