Running JAR Files with a Double-Click on Windows 7 64-bit
Unable to execute JAR files on Windows 7 64-bit through double-click? This article provides a solution to troubleshoot this issue.
Previously, the user implemented the 'ftype' command to associate JAR files with Java, but it didn't resolve the problem. Upon further investigation, it was discovered that a Windows Registry key may have been modified.
Troubleshooting:
[-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.jar]
assoc .jar=jarfile ftype jarfile="C:\path\to\your\javaw.exe" -jar "%1" %*
These commands will associate JAR files with Java once again, allowing you to run them by double-clicking.
The above is the detailed content of Why Can't I Run JAR Files with a Double-Click on Windows 7 64-bit?. For more information, please follow other related articles on the PHP Chinese website!