Saturday, September 24, 2016

Removing OPENJDK from CENTOS on VirtualBox


Step 1: Check the OpenJDK files using this command

rpm -qa | grep jdk

The output should be something like:








Step 2: Use the command:

sudo yum remove java-1.7.0-openjdk-headless-1.7.0.91-2.6.2.3.el7.x86_64

Continue using this command to remove the entries you get from the rpm command.

Step 3: Check whether any entries are left using the command used in Step 1.

As simple as that!! Isn't it!!

No comments:

Post a Comment