The applet will check your version of Java and then remove out-of-date versions.
To get rid of the older versions, you can download and install the latest version of Java, which will automatically check for older versions and then install the latest version or you can run the Java Uninstall Tool. So what’s next? Well, the first thing I do when removing Java on Windows is to uninstall the older versions first.