This discussion is archived
5 Replies Latest reply: May 7, 2012 4:28 PM by user162038 - oracle RSS

Java 7 update 4 doesn't assign *.jar

933949 Newbie
Currently Being Moderated
Java 7 update 4 doesn't assign *.jar file in Windows Explorer (Windows 7). Has anyone else noticed the problem?

Update 3 works correctly.
  • 1. Re: Java 7 update 4 doesn't assign *.jar
    EJP Guru
    Currently Being Moderated
    What does 'assign *.jar file' mean?
  • 2. Re: Java 7 update 4 doesn't assign *.jar
    933949 Newbie
    Currently Being Moderated
    It means that when you double click a file, the application assigned with the filename extension is launched with the filename is passed as a parameter to it. With update 4 you can't double click a *.jar file to launch a Java application unless you assign the filename extension yourself.

    Edited by: 930946 on 30.4.2012 1:05
  • 3. Re: Java 7 update 4 doesn't assign *.jar
    821144 Newbie
    Currently Being Moderated
    Yes, I have the same problem - *.jar* file does not run any more after double clicking on it (Windows 7, Java(TM) SE Runtime Environment (build 1.7.0_04-b20))

    I solved the problem that way:
    C:\Users\myusername>assoc .jar
    .jar=jarfile
    
    C:\Users\myusername>ftype jarfile="C:\Program Files\Java\jre7\bin\javaw.exe" -jar "%1" %*
    jarfile="C:\Program Files\Java\jre7\bin\javaw.exe" -jar "%1" %*
    How do you solve this problem?

    Edited by: pau on 01.05.2012 13:06
  • 4. Re: Java 7 update 4 doesn't assign *.jar
    649753 Explorer
    Currently Being Moderated
    Hi all,

    We have identified an issue in the JRE installer that results in this problem on some Windows configurations. java.com has been switched back to JRE 6 while finish analysis and fix. We expect an updated version to be posted on java.com shortly. You can work around it by manually editing your Windows registry key for the file association, or just wait for an updated version of 7u4 to be posted.

    Henrik Ståhl
    Sr. Director, Product Management
    Java Platform Group
  • 5. Re: Java 7 update 4 doesn't assign *.jar
    user162038 - oracle Newbie
    Currently Being Moderated
    The bug that caused this problem has been fixed, a new version of 7u4 (build 22) for Windows has been posted on OTN and on java.com. Thanks for reporting this issue.

    Edited by: user12629545 on May 7, 2012 4:27 PM

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points