how to set default compiler to jdk 11 in ubuntu code example
Example 1: set default java version
# on linux
sudo update-alternatives --config java
# then just input the number of the jdk you
# want to use as default and hit Enter
Example 2: ubuntu java compiler version
javac --version