📜  如何卸载 jdk java - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:07.340000             🧑  作者: Mango

代码示例1
#If you want to remove Openjdk only, execute the following command on terminal:
sudo apt-get remove openjdk*

#If you want to remove Openjdk along with dependencies, execute the following command on terminal:
sudo apt-get remove --auto-remove openjdk*

#If you want to remove Openjdk and it’s configuration files, execute the following command on terminal:
sudo apt-get purge openjdk*

#If you want to remove Openjdk along with dependencies and it’s configuration files, execute the following command on terminal:
sudo apt-get purge --auto-remove openjdk*
  
#don't forgive to give a thumbs up