In this guide, I’m going to show you how to uninstall openjdk ubuntu real quick
OpenJDK is the short form of Open Java Development Kit similar to Oracle's Java Development Kit used to develop Java Applications. Main difference between Oracle JDK and OpenJDK is that OpenJDK is free for all while Oracle Java Development Kit or Oracle JDK requires commercial license.
If you want to know more about OpenJDK, you can go through Open Java Development Kit Quick guide.
To Uninstall OpenJDK Ubuntu Java Runtime - Enter the below command on Ubuntu Terminal.
$ sudo apt-get remove openjdk*
$ sudo apt-get remove --auto-remove openjdk*
$ sudo apt-get purge --auto-remove openjdk*
Once the above step is complete, we can verify whether the openjdk uninstall is successful or not.
Go to Ubuntu terminal and type java -version
The above command should not print the OpenJDK version you installed earlier.
Where to Download OpenJDK ?
- here are the OpenJDK versions you might be interested in!
If you are looking out for earlier OpenJDK versions, go to OpenJDK Archive