How to install Zulu java from azulsystems as an alternative to OpenJDK.
OpenJDK is sometimes slightly behind the official Oracle releases as well as that OpenJDK doesn't provide all the Java versions for all OS'es. (For instance Java 12 isn't available from repo on Ubuntu 16 but only on Ubuntu 18)
Simplest way to install is via repository. Procedure described here is for Ubuntu but for other flavors of Linux the procedures are here: https://docs.azul.com/zulu/zuludocs/ZuluUserGuide/PrepareZuluPlatform/AttachAzulPackageRepositories.htm
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 0xB1998361219BD9C9
apt-add-repository 'deb http://repos.azulsystems.com/ubuntu stable main'
apt-get update
or
apt update
Actual installation of packages
apt install zulu-{version number}
or
apt-get install zulu-{version number}