Installlion's Logo

Installlion.com

How To Uninstall openjdk-8-jdk On Ubuntu 16.04 LTS

To uninstall openjdk-8-jdk just follow these instructions.

Uninstall just openjdk-8-jdk

OpenJDK Development Kit (JDK)Ubuntu 16.04 LTSjava8u77-b03-3ubuntu3
sudo apt-get remove openjdk-8-jdk

This will remove just the openjdk-8-jdk package itself.

Uninstall openjdk-8-jdk and its dependencies

sudo apt-get remove --auto-remove openjdk-8-jdk

This will remove the openjdk-8-jdk package and any other dependant packages which are no longer needed.

Purging your config/data too

If you also want to delete your local/config files for openjdk-8-jdk then this will work.

 Caution! Purged config/data can not be restored by reinstalling the package.
sudo apt-get purge openjdk-8-jdk

Or similarly, like this openjdk-8-jdk

sudo apt-get purge --auto-remove openjdk-8-jdk

Package Data

Packageopenjdk-8-jdk
Version8u77-b03-3ubuntu3
MaintainerOpenJDK Team <[email protected]>
Home pagehttp://openjdk.java.net/
DescriptionOpenJDK Development Kit (JDK)
Distroubuntu
Releasexenial
Repomain
Sectionjava

Dependencies