Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6301263

Take back a stolen .jar association on Windows

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 5.0u4
    • deploy
    • None

      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.

            jchusunw Jacky Chu (Inactive)
            jloefflm Johann Löfflmann (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: