Windows 10: Window home version cannot directly open .jar file

Discus and support Window home version cannot directly open .jar file in Windows 10 Gaming to solve the problem; Hi everyone,Recently, I installed Windows 10 Home but met an issue. I cannot open a .jar file with a double click. I installed JDK and set the... Discussion in 'Windows 10 Gaming' started by VũHB, Aug 26, 2023.

  1. VũHB Win User

    Window home version cannot directly open .jar file


    Hi everyone,Recently, I installed Windows 10 Home but met an issue. I cannot open a .jar file with a double click. I installed JDK and set the environment correctlyJAVA_HOME variable, path to bin folder of JDK, but it does not work. It only works when I open a .jar file with cmd java -jar name.jarBut when I upgraded to Windows 10 Pro, it worked. I can open a jar file with a double click.Can you explain the reason above? Thanks so much

    :)
     
    VũHB, Aug 26, 2023
    #1
  2. DaveM121 Win User

    jar files

    Fixing .jar file opening on Windows requires two steps:

    • Open the Control Panel, and chose "Default Programs - Associate a File type or protocol with a program". Find .jar extension (Executable JAR file) there, and pick Java as default program to open this extension. It will probably be listed as "Java Platform(SE)".
      A faster alternative perhaps is straightforward right-click on a .jar file, and then change associated program by clicking on the "Change..." button.
    • Now open the regedit, and open the HKEY_CLASSES_ROOT\jarfile\shell\open\command key. Luckilly for us, we may specify parameters there for the (Default) value. This is normally: C:\Program Files\Java\jre7\bin\javaw.exe" -jar "%1" %*

    I Hope this Answers your Question!
     
    DaveM121, Aug 26, 2023
    #2
  3. .jar files opening in internet explorer

    Hi Robert,

    Welcome to Microsoft Community.

    I understand that .jar files opens in Internet Explorer by default and downloads again on Windows 10. I will certainly help you.

    I suggest you to follow the below steps and check if it resolves the issue.

    1. Right click on the .jar file, select Open with
    and click on Choose another app.

    2. Select the app you want to open the .jar file from list.

    3. If required, highlight the app and check the option
    Always use this app to open, click OK.

    Hope this helps. If the issue remains unresolved, please get back to us and we would be happy to help.
     
    Vinodh_Kumar V, Aug 26, 2023
    #3
  4. NateHoopu Win User

    Window home version cannot directly open .jar file

    .jar files opening in internet explorer

    I have the same problem, I accidentaly switched a .jar file to open with internet explorer, or notepad, I can't remember, and I forgot to unselect set it to the default, and now I can't get back to the java thing, please help.
     
    NateHoopu, Aug 26, 2023
    #4
Thema:

Window home version cannot directly open .jar file

Loading...
  1. Window home version cannot directly open .jar file - Similar Threads - Window home version

  2. .jar file not opening

    in Windows 10 Gaming
    .jar file not opening: Hello. Every time I try to open a .jar file on windows 11, it doesn't work. I just see a command prompt for a split second, then it geos away. I have tried unblocking the file, jarfix, the .bat file, and much more....
  3. .jar file not opening

    in Windows 10 Software and Apps
    .jar file not opening: Hello. Every time I try to open a .jar file on windows 11, it doesn't work. I just see a command prompt for a split second, then it geos away. I have tried unblocking the file, jarfix, the .bat file, and much more....
  4. Cannot Open .jar files

    in Windows 10 Software and Apps
    Cannot Open .jar files: I've been facing an issue on my Windows 11 system related to .jar files. Despite using the Jarfix tool, I'm still unable to open .jar files on my system.Here are some details:Operating System: Windows 11Tool Used: JarfixI've utilized Jarfix to fix the file association for...
  5. Cannot Open .jar files

    in Windows 10 Gaming
    Cannot Open .jar files: I've been facing an issue on my Windows 11 system related to .jar files. Despite using the Jarfix tool, I'm still unable to open .jar files on my system.Here are some details:Operating System: Windows 11Tool Used: JarfixI've utilized Jarfix to fix the file association for...
  6. Window home version cannot directly open .jar file

    in Windows 10 Software and Apps
    Window home version cannot directly open .jar file: Hi everyone,Recently, I installed Windows 10 Home but met an issue. I cannot open a .jar file with a double click. I installed JDK and set the environment correctlyJAVA_HOME variable, path to bin folder of JDK, but it does not work. It only works when I open a .jar file with...
  7. jar file not opening

    in Windows 10 BSOD Crashes and Debugging
    jar file not opening: why the hell wont my file open? i have tried literally everything [ATTACH] https://answers.microsoft.com/en-us/windows/forum/all/jar-file-not-opening/867eeb37-c1d0-4185-9ad9-2f9ae95e531d
  8. .Jar files not opening

    in Windows 10 Ask Insider
    .Jar files not opening: ive tried everything, jarfix CMD pathing , BAT file, javaw.exe fucking nothing. submitted by /u/jmantechno [link] [comments] https://www.reddit.com/r/Windows10/comments/l8afe2/jar_files_not_opening/
  9. Jar File not Opening

    in Windows 10 Network and Sharing
    Jar File not Opening: So I have installed Minecraft Java 1.16.4 on my Windows 10 and I have tried to install Optifine 1.16.4 on it and I got it where the icon is the jar teacup with the smoke and every time I try to install it it says there was an error in the following sequence that has a...
  10. Jar files cannot open

    in Windows 10 Network and Sharing
    Jar files cannot open: I cannot open any executable jar file. I've tried everything I could find. I completely uninstalled and reinstalled the latest java update, ran jarfix, and tried running the jar files from cmd using java -jar and javaw -jar. After running a .jar executable,...