Sunday, October 23, 2011

FIX .jar extension default application for Java

After installing some software which change the default application for .jar file it becomes difficult to restore the previous state.It can be fixed as described below:
Create a .reg file following content and then run the file:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.jar]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.jar\OpenWithList]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.jar\OpenWithProgids]
"WinRAR"=hex(0):
"jarfile"=hex(0):
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.jar\UserChoice]
"Progid"="jarfile"

No comments:

Post a Comment