remove jdk 11 from ubuntu completely code example
Example 1: linux remove java 11
sudo apt remove openjdk-11*
sudo apt remove icedtea*
Example 2: uninstall java 11 linux
sudo update-alternatives --remove "java" "/usr/lib/jvm/jdk[version]/bin/java"