Win7 system double click can not open jar file

  

1. Press “Win+R”Open “Run” window, enter the “regedit” command and press Enter to open the registry;

2. Locate the following registration item HKEY_CLASSES_ROOT/Applications/Javaw.exe, if you don't have one at the beginning, 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, 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 value to “D:/Program Files/Java/jre/bin/javaw.exe” -jar “%1”

Copyright © Windows knowledge All Rights Reserved