Use this to set the latest installed Java JRE to be the default JRE.
There are also instructions there on how to set Eclipse to always upgrade to the latest version. If you already have Eclipse installed, follow the directions on the Eclipse home page to upgrade to the latest version. "as administrator" in Windows, when installing or uninstalling a plugin.