On Windows, we already support the .jar association during installation of the JRE.
However, particular 3rd party software (primarily pack programs) can steal the .jar association even if .jar is already associated with javaw.
If you double-click a jar file that does contain a "Main-Class" attribute in the manifest
and the .jar association has been stolen, then the jar is opened by a different program rather then the program is executed by javaw.
There are at least two ways to restore the original .jar association.
Manually:
* At the Java Control Panel the user could click on a button to restore
the original .jar association.
Automatically:
* If we detect a .jar association misconfiguration during java update (for example), we can also inform the user about the problem and give her/him also an option to fix it.