Home >Java >javaTutorial >Why Can't I Run .JAR Files by Double-Clicking on Windows 7 64-bit?

Why Can't I Run .JAR Files by Double-Clicking on Windows 7 64-bit?

Patricia Arquette
Patricia ArquetteOriginal
2024-11-14 14:01:01626browse

Why Can't I Run .JAR Files by Double-Clicking on Windows 7 64-bit?

Cannot Run .JAR Files by Double-Clicking on Windows 7 64-bit

Despite successfully executing .JAR files through the command line, double-clicking on these files in Windows 7 (64-bit) produces no response. Previous attempts to use the 'ftype' hint have been unsuccessful, as have reinstalling JDK 7 64-bit.

To rectify this issue:

  1. Remove the following registry key if you've previously opened .JAR files using a specific path.

    [-HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.jar]

  2. Run the following commands in the command line:

The above is the detailed content of Why Can't I Run .JAR Files by Double-Clicking on Windows 7 64-bit?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn