How Do I Completely Remove Jdk from Ubuntu?
Contents How Do I Completely Remove Java from Ubuntu? 8 Answers Remove All the Java Related Packages (Sun, Oracle, Openjdk, Icedtea Plugins, Gij): Dpkg-Query...
Contents
How do I completely remove Java from Ubuntu?
8 Answers
- Remove all the Java related packages (Sun, Oracle, OpenJDK, IcedTea plugins, GIJ): dpkg-query -W -f=’${binary:Package}n’ | grep -E -e ‘^(ia32-)?( …
- Purge config files (careful. …
- Remove Java config and cache directory: sudo bash -c ‘ls -d /home/*/.java’ | xargs sudo rm -rf.
Must Read
How do I completely remove JDK?
Manual Uninstall
- Click Start.
- Select Settings.
- Select System.
- Select Apps & features.
- Select the program to uninstall and then click its Uninstall button.
- Respond to the prompts to complete the uninstall.