Java 11 is a LTS version, so should be the most popular version. I tested the steps below on Ubuntu/Mint/Arch.
Installation
Here I will provide three option the Oracle, OpenJDK and AdoptOpenJDK version. I would recommend the AdoptOpenJDK.
AdoptOpenJDK 11 (Recommended)
Ubuntu/Mint
Add the following PPA and install as follow:
Arch
OpenJDK 11
Add the following PPA and install as follow:
Oracle Java 11
Add the following PPA and install as follow:
Switch between Java versions
List all installed version of Java.
Selecting new version of Java.
Also noted that sometimes the JAVA_HOME is not set and causes issues with few apps. To fix this just set the JAVA home in /etc/enviroment or if that file is not in your distro set in ~/.bashrc. If you are setting in the /etc/enviroment you need to restart to load.