Installion's Lion Logo

Installion.co.uk

How To Uninstall openjdk-8-jdk On Debian 9

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

Uninstall just openjdk-8-jdk

OpenJDK Development Kit (JDK)Debian 9.0java8u131-b11-2
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
Version8u131-b11-2
MaintainerOpenJDK Team <openjdk@lists.launchpad.net>
Home pagehttp://openjdk.java.net/
DescriptionOpenJDK Development Kit (JDK)
Distrodebian
Releasestretch
Repomain
Sectionjava

Dependencies