Win7 system double click can not open jar file

  
            1. Press “Win+R”Open “Run” window, enter “regedit” command and press Enter to open the registry;
2. Find the following registration item HKEY_CLASSES_ROOT/Applications/javaw.exe, start If not, find the javaw.exe file in the resource manager. For example, D:/Program Files/Java/jre/bin/javaw.exe in my computer, run it, or find a Jar file and select the open method. Enter D:/Program Files/Java/jre/bin/javaw.exe, and then select Open.
3. Enter the following registration item HKEY_CLASSES_ROOT/Applications/javaw.exe/shell/open/command, modify the default key. The value is “D:/Program Files/Java/jre/bin/javaw.exe” -jar “%1” .

Copyright © Windows knowledge All Rights Reserved