remove java from debian linux 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"
sudo apt remove openjdk-11*
sudo apt remove icedtea*
sudo update-alternatives --remove "java" "/usr/lib/jvm/jdk[version]/bin/java"