This clears out java and PMS and those remnants which never get removed by the uninstallers.

Finally Install latest version of Java. Reboot.

Then Install latest version of PMS.

This may also be a PATH issue to the correct version of Java. Go into your computers 'system properties' 'advanced' then 'environment variables' then 'system variables' - scroll down to PATH and edit it, to make sure you add the path to the latest version of java installed (e.g. ;C:\Program Files\Java\jre6\bin - or whatever the latest version path is when java is installed) and make sure this entry is before the 'c:\windows\system32' entry)