Windows 10: Java not Showing Up as a default option for Jar Files

Discus and support Java not Showing Up as a default option for Jar Files in Windows 10 Network and Sharing to solve the problem; Recently I have needed to download various JAR files. The default app for these is Internet explore for some reason. I have java on my computer, but... Discussion in 'Windows 10 Network and Sharing' started by SamuelOnas, Apr 23, 2021.

  1. Java not Showing Up as a default option for Jar Files


    Recently I have needed to download various JAR files. The default app for these is Internet explore for some reason. I have java on my computer, but strangely it doesn't appear in the app defaults for jar files.

    :)
     
    SamuelOnas, Apr 23, 2021
    #1
  2. temp02 Win User

    .java to .jar file

    As a side note to Easy Rhinos comment, you can only jar .class files, meaning that you need to compile all the .java files and them jar the .class files resulting from the compilation. Example:
    Code: javac Test.java jar cf Teste.jar Test.class[/quote]
     
    temp02, Apr 23, 2021
    #2
  3. .java to .jar file

    if you know the manual then you know you dont put the code in the program, you convert all of your java class files into a jar file using their compiler.
     
    Easy Rhino, Apr 23, 2021
    #3
  4. DaveM121 Win User

    Java not Showing Up as a default option for Jar Files

    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 23, 2021
    #4
Thema:

Java not Showing Up as a default option for Jar Files

Loading...
  1. Java not Showing Up as a default option for Jar Files - Similar Threads - Java Showing default

  2. Java SE Binary wont show up as an opening option for opening Jar files

    in Windows 10 Gaming
    Java SE Binary wont show up as an opening option for opening Jar files: when I click open with I do not see Java SE binary and I dont know how else to do it https://answers.microsoft.com/en-us/windows/forum/all/java-se-binary-wont-show-up-as-an-opening-option/ff50d020-7a66-4058-b3e7-d145b32c88d1
  3. Java SE Binary wont show up as an opening option for opening Jar files

    in Windows 10 Software and Apps
    Java SE Binary wont show up as an opening option for opening Jar files: when I click open with I do not see Java SE binary and I dont know how else to do it https://answers.microsoft.com/en-us/windows/forum/all/java-se-binary-wont-show-up-as-an-opening-option/ff50d020-7a66-4058-b3e7-d145b32c88d1
  4. Java / Jar files / "open with"

    in Windows 10 Network and Sharing
    Java / Jar files / "open with": Every time I try to open a jar file it opens java and then later says java cannot install because of the program I am trying to delete. When I try to delete java "jre-8u341-windows-x64" it says the program is open in "jre-8u341-windows-x64" and does not allow me to delete it....
  5. Java / Jar files / "open with"

    in Windows 10 Gaming
    Java / Jar files / "open with": Every time I try to open a jar file it opens java and then later says java cannot install because of the program I am trying to delete. When I try to delete java "jre-8u341-windows-x64" it says the program is open in "jre-8u341-windows-x64" and does not allow me to delete it....
  6. Java / Jar files / "open with"

    in Windows 10 Software and Apps
    Java / Jar files / "open with": Every time I try to open a jar file it opens java and then later says java cannot install because of the program I am trying to delete. When I try to delete java "jre-8u341-windows-x64" it says the program is open in "jre-8u341-windows-x64" and does not allow me to delete it....
  7. .jar file not working with java

    in Windows 10 Network and Sharing
    .jar file not working with java: How do I open .jar files in a different, more simplified way and why won't my Java work as it should?My .jar file opens and closes as soon as I open it. I downloaded it for Minecraft, and every time I try and double click to open, rather nothing happens, or the Java's command...
  8. Cannot set Java to open .jar files by default

    in Windows 10 Network and Sharing
    Cannot set Java to open .jar files by default: I have Windows 10 Home, on an HP Pavilion.Anyway, today I downloaded a .jar file, and whenever I double-clicked on it, it would not open automatically. When right clicking on the .jar file and selecting "open with", "JavaTM Platform SE binary" would not show up. Yes, I have...
  9. Java .jar file is not downloaded as a java file.

    in Windows 10 Installation and Upgrade
    Java .jar file is not downloaded as a java file.: I like playing Minecraft, and I like to play with friends. So I tried to download the sever.jar file and it downloaded a download but, when I wnt to open this file it brought me to internet explorer manage download files page. It asked me if I wanted to save, open, or save...
  10. Java .jar file is not downloaded as a java file.

    in Windows 10 Installation and Upgrade
    Java .jar file is not downloaded as a java file.: I like playing Minecraft, and I like to play with friends. So I tried to download the sever.jar file and it downloaded a download but, when I wnt to open this file it brought me to internet explorer manage download files page. It asked me if I wanted to save, open, or save...

Users found this page by searching for:

  1. How do I make java the default program for a JAR file?