How do I completely remove JDK from Ubuntu?
Answer
How To Uninstall JDK From Linux ?
Answer
How To Uninstall JDK From Linux ?
- Uninstall Oracle JDK. Remove The Link. First of all remove the alternatives by executing the following commands: $ sudo update-alternatives –remove “java” “/usr/lib/jvm/jdk[version]/bin/java”
- Uninstall Openjdk. If you want to remove Openjdk only, execute the following command on terminal: $ sudo apt-get remove openjdk*