So deinstallieren Sie OpenJDK unter Linux
sudo apt-get autoremove openjdk-11-jre
Uptight Unicorn
sudo apt-get autoremove openjdk-11-jre
#To Uninstall OpenJDK Ubuntu Java Runtime - Enter the below command on Ubuntu Terminal.
$ sudo apt-get remove openjdk*
#To Uninstall OpenJDK Ubuntu Java Runtime along with dependencies - Enter the below command on Ubuntu Terminal.
$ sudo apt-get remove --auto-remove openjdk*
#To Uninstall OpenJDK Ubuntu Java Runtime along with dependencies and configurations - Enter the below command on Ubuntu Terminal.
$ sudo apt-get purge --auto-remove openjdk*
#verify
java -version
javac -version