remove java linux code example Example: linux remove java 11 sudo apt remove openjdk-11* sudo apt remove icedtea*