나는 askubuntu를 검색하고 제안을 시도했지만 실패했습니다.이 질문을 시도하십시오 : Java를 완전히 제거하는 방법?
1. 나는 다음을 sudo apt-cache search openjdk
얻는다.
openjdk-6-dbg - Java runtime based on OpenJDK (debugging symbols)
openjdk-6-demo - Java runtime based on OpenJDK (demos and examples)
openjdk-6-doc - OpenJDK Development Kit (JDK) documentation
openjdk-6-jdk - OpenJDK Development Kit (JDK)
openjdk-6-jre - OpenJDK Java runtime, using Hotspot JIT
openjdk-6-jre-headless - OpenJDK Java runtime, using Hotspot JIT (headless)
openjdk-6-jre-lib - OpenJDK Java runtime (architecture independent libraries)
openjdk-6-source - OpenJDK Development Kit (JDK) source files
icedtea-7-jre-jamvm - Alternative JVM for OpenJDK, using JamVM
openjdk-6-jre-zero - Alternative JVM for OpenJDK, using Zero/Shark
openjdk-7-dbg - Java runtime based on OpenJDK (debugging symbols)
openjdk-7-demo - Java runtime based on OpenJDK (demos and examples)
openjdk-7-doc - OpenJDK Development Kit (JDK) documentation
openjdk-7-jdk - OpenJDK Development Kit (JDK)
openjdk-7-jre - OpenJDK Java runtime, using Hotspot JIT
openjdk-7-jre-headless - OpenJDK Java runtime, using Hotspot JIT (headless)
openjdk-7-jre-lib - OpenJDK Java runtime (architecture independent libraries)
openjdk-7-jre-zero - Alternative JVM for OpenJDK, using Zero/Shark
openjdk-7-source - OpenJDK Development Kit (JDK) source files
2. sudo apt-get remove openjdk를 실행하여 다음을 얻습니다.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package openjdk-7-jdk is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 182 not upgraded.
sudo dpkg --list; sudo dpkg --list | grep -i jdk
감사 @izx