Custom Search

Uninstall Java Development Kit on Linux Systems

Sometimes you want JDK5 compiler source and JDK6 is installed on your machine, oops in this case if JDK5 is not installed then JDK5 cannot be installed as newer version is already installed. Now in this scenario we have to uninstall JDK6 so that JDK5 can be installed. There are no specific uninstall file provided by Sun but there are ways we can uninstall JDK from linux systems.





RPM Package:
If the Java Development Kit was installed using RPM we can check it using ‘rpm -qa | grep jdk’. If this command shows any JDK version then you can easily remove the rpm package using ‘rpm –erase [javapackagename]‘

Self Extracting File:
If the JDK was installed using self extraction zip file then we can directly remove the JDK folder using ‘rm -rf

Your email:  
Subscribe Unsubscribe  

Similar Posts

Did you enjoy this post? Why not leave a comment below and continue the conversation, or subscribe to my feed and get articles like this delivered automatically to your feed reader.

Comments

No comments yet.

Leave a comment

(required)

(required)