java

ian's picture

Removing old JAVA installs

Scenario

First off, Java.com has a Java applet to do this very thing.
http://java.com/en/download/uninstallapplet.jsp

However, if you need to run this on many computers using a login script, or patch management system, here is my alternative.
It may not be complete, but it removes several versions of java using the command line uninstall method and a little brute force execution.