Windows 10: Does anyone know why I can't open jar files?

Discus and support Does anyone know why I can't open jar files? in Windows 10 Gaming to solve the problem; Recently I was trying to install Minecraft Forge, and I was having trouble with it.First off, I tried to set the .jar file default app to the java app,... Discussion in 'Windows 10 Gaming' started by Reaper1970, Apr 16, 2023.

  1. Does anyone know why I can't open jar files?


    Recently I was trying to install Minecraft Forge, and I was having trouble with it.First off, I tried to set the .jar file default app to the java app, and that helped, but then when I clicked the .jar file, it opened and then immediately closed.Then, I tried creating a batch file, which also did not work.Could someone please help me out? I'm on a Windows 11 Lenovo laptop

    :)
     
    Reaper1970, Apr 16, 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, Apr 16, 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, Apr 16, 2023
    #3
  4. Julie Ram Win User

    Does anyone know why I can't open jar files?

    Cannot open .jar files

    Hi Hardy,

    Possible cause why you were not able to open .jar files might be compatibility issue. To provide you the appropriate resolution, we would like to know the following information:

    • When did the issue start?
    • Are you getting any error messages?
    • Do you have a third-party antivirus? If yes, we suggest that you disable it for the meantime.

    Regards.
     
    Julie Ram, Apr 16, 2023
    #4
Thema:

Does anyone know why I can't open jar files?

Loading...
  1. Does anyone know why I can't open jar files? - Similar Threads - Does anyone why

  2. I can't open a .jar files

    in Windows 10 Gaming
    I can't open a .jar files: I tried to open .jar files with every browser but it doesn't work. I also uninstalled Java and reinstalled it but it didn't work https://answers.microsoft.com/en-us/windows/forum/all/i-cant-open-a-jar-files/394c6501-f561-4686-8c6e-3cf4cabb4d32
  3. I can't open a .jar files

    in Windows 10 Software and Apps
    I can't open a .jar files: I tried to open .jar files with every browser but it doesn't work. I also uninstalled Java and reinstalled it but it didn't work https://answers.microsoft.com/en-us/windows/forum/all/i-cant-open-a-jar-files/394c6501-f561-4686-8c6e-3cf4cabb4d32
  4. Does anyone know why I can't open jar files?

    in Windows 10 Software and Apps
    Does anyone know why I can't open jar files?: Recently I was trying to install Minecraft Forge, and I was having trouble with it.First off, I tried to set the .jar file default app to the java app, and that helped, but then when I clicked the .jar file, it opened and then immediately closed.Then, I tried creating a batch...
  5. Does anyone know why I can't open settings?

    in Windows 10 Gaming
    Does anyone know why I can't open settings?: I can not open the settings at all. Like the computer's windows settings are not accessible, I have no idea why and can't figure out why. I've tried to reset the computer but every time I put the password in, it says it's incorrect. I've changed the password and it didn't...
  6. Does anyone know why I can't open settings?

    in Windows 10 Software and Apps
    Does anyone know why I can't open settings?: I can not open the settings at all. Like the computer's windows settings are not accessible, I have no idea why and can't figure out why. I've tried to reset the computer but every time I put the password in, it says it's incorrect. I've changed the password and it didn't...
  7. Does anyone know why I can't open settings?

    in Windows 10 Customization
    Does anyone know why I can't open settings?: I can not open the settings at all. Like the computer's windows settings are not accessible, I have no idea why and can't figure out why. I've tried to reset the computer but every time I put the password in, it says it's incorrect. I've changed the password and it didn't...
  8. I Can't Open Jar files

    in Windows 10 Network and Sharing
    I Can't Open Jar files: Hey, I can't open Jar files or more exactly Optifine files, instead of running the install Optifine launcher it opens Jar files with internet explorer of all thing, I have tried to reset default apps, but I still can't get it to work, I want to be able to open Jar files in...
  9. I can't open jar files

    in Windows 10 Ask Insider
    I can't open jar files: I wanted to install forge to get mods in minecraft but the jar files won't launch. I tried using cmd, creating a bat file and using jarfix. Nothing worked. All it does is create a new text document which says: JVM info: Oracle Corporation - 1.8.0_271 - 25.271-b09...
  10. I can't open jar files

    in Windows 10 Gaming
    I can't open jar files: I wanted to install forge to get mods in minecraft but the jar files won't launch. I tried using cmd, creating a bat file and using jarfix. Nothing worked. All it does is create a new text document which says: JVM info: Oracle Corporation - 1.8.0_271 - 25.271-b09...