Java .jar files to run on double-click
17,926
Solution 1
Open regedit.exe
search for : HKEY_CLASSES_ROOT\jarfile\shell\open\command
Probably, you have in the value:"C:\Program Files\Java\jre7\bin\javaw.exe" -jar "%1" %*
change it to "C:\Program Files\Java\jre7\bin\java.exe" -jar "%1" %*
(make sure that the path points to your actual java.exe
, for it depends on the java version you have installed)
Good luck. It worked for me. ;-)
Solution 2
Instructions for configuring the file assocations you'll need can be found here:
jar : Java Glossary - Making Jar Files Double Clickable
http://mindprod.com/jgloss/jar.html#ASSOCIATION
Related videos on Youtube
Author by
user626528
Updated on September 17, 2022Comments
-
user626528 over 1 year
How can I configure .jar files run on double-click in Windows 7?
-
user626528 almost 11 yearsActually it's not necessary to use javaw. java.exe is ok for me. But the whole command was missing.
-
user626528 almost 11 yearsBuy a tool for this? You must be kidding.