uninstall openjdk 11 code example
Example 1: how to uninstall openjdk in linux
sudo apt-get autoremove openjdk-11-jre
Example 2: uninstall java 11 linux
sudo update-alternatives --remove "java" "/usr/lib/jvm/jdk[version]/bin/java"
sudo apt-get autoremove openjdk-11-jre
sudo update-alternatives --remove "java" "/usr/lib/jvm/jdk[version]/bin/java"