how to uninstall java 11 in linux instance 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"