debian remove java 11 code example Example: uninstall java 11 linux sudo update-alternatives --remove "java" "/usr/lib/jvm/jdk[version]/bin/java"