Win7 system can not use the mouse to double-click to open the jar file how to do?

  

Win7 system can't open the jar file with a double mouse click. What should I do?

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, such as D:/Program Files/Java/jre/bin/javaw.exe in my computer, run it, or Find a Jar file, select the open method, type 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