.jar file associations and Windows 7

Has your .jar associations ever been hijacked ?

Mine too, after spending far too long following suggestions of people on forums of how to get it back, using your command prompt ‘assoc’ & ‘ftype’ commands and manually editing your regedit etc…

Forget it, grab yourself this handy util ‘jarfix

Jarfix has existed since 2002, so can be trusted to correct the .jar association & put back the following -jar flag, so when you launch a .jar file it runs correctly. On typing ‘ftype jarfile’ in your Command Prompt you should see the following.

jarfile=”C:\Program Files (x86)\Java\jre6\bin\javaw.exe” -jar “%1” %*


  1. Junchen

    This is what I get errrr…..

    C:\Program Files\Java\jdk1.6.0_31\jre\bin>javaw.exe” -jar %1″ %*
    ‘javaw.exe” -jar %1″‘ is not recognized as an internal or external command,
    operable program or batch file.

    • Raymond Reid

      Try running Jarfix.exe again.
      I’ve just re-ran it on my machine and its still working.

      I’ve fixed the download link as it had expired – try getting jarfix from the new link above.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s