JDK-7165223 : Java 7 update 4 doesn't register as the handler of *.jar files
  • Type: Bug
  • Component: install
  • Sub-Component: install
  • Affected Version: 7
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_7
  • CPU: x86
  • Submitted: 2012-04-30
  • Updated: 2012-05-07
  • Resolved: 2012-05-07
Related Reports
Duplicate :  
Description
FULL PRODUCT VERSION :
java version "1.7.0_04"
Java(TM) SE Runtime Environment (build 1.7.0_04-b20)
Java HotSpot(TM) Client VM (build 23.0-b21, mixed mode, sharing)

ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows [versio 6.1.7601]

A DESCRIPTION OF THE PROBLEM :
The installer of Java 7 update 4 (x86) doesn't register Java as the handler of *.jar files. Because of this, double clicking a *.jar file to execute a Java application doesn't work.

I have tried a reinstallation several times.

It works fine in Update 3.

REGRESSION.  Last worked in version 7

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Uninstall previous Java versions.

Install Java 7 update 4 with the offline installer.

Attempt to run a Java application by doubleclicking it on Windows Explorer.

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
The Java application should be started with Javaw.
ACTUAL -
The jar file opens in another application instead.

Java is not listed in the open with / choose default program list.

REPRODUCIBILITY :
This bug can be reproduced always.

CUSTOMER SUBMITTED WORKAROUND :
Associate jar with "javaw -jar" using the command line tool "assoc" yourself.