Windows 10: Can't open .jar files using Java 17, please help!

Discus and support Can't open .jar files using Java 17, please help! in Windows 10 Gaming to solve the problem; When I try to open .jar files using java 17 the file doesn't open. I tried reinstalling Java 17, and it still didn't work. When I clicked open... Discussion in 'Windows 10 Gaming' started by Jan-J-K, Aug 3, 2022.

  1. Jan-J-K Win User

    Can't open .jar files using Java 17, please help!


    When I try to open .jar files using java 17 the file doesn't open. I tried reinstalling Java 17, and it still didn't work. When I clicked open with>choose another app>more apps>look for another app on this PC>Java folder>jdk-17.0.4>bin. There I found two different java files java and javaw. I tried to open the files with both and it still didn't work. This is very frustrating because I can't install things that require java or I can't open .jar files.

    :)
     
    Jan-J-K, Aug 3, 2022
    #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, Aug 3, 2022
    #2
  3. GSquadron Win User
    .java to .jar file

    Hi guys!
    I have a problem i think i dont know how to do this little thing
    I have searched around the web, but i cant find anyone to explain it how to
    and where to put this code down here in order for the compilator to convert it
    from .java to a .jar file so the program or games i do in neatbeans can be executed in
    my mobile phone!
    Anyone can help??? The code is this one:
    jar cf jar-file input-file(s)
     
    GSquadron, Aug 3, 2022
    #3
  4. Can't open .jar files using Java 17, please help!

    .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, Aug 3, 2022
    #4
Thema:

Can't open .jar files using Java 17, please help!

Loading...
  1. Can't open .jar files using Java 17, please help! - Similar Threads - Can't open jar

  2. jar files wont open with java.

    in Windows 10 Gaming
    jar files wont open with java.: hello! i wanted to download minecraft shaders, i followed a guide on how to download everything but when i try to open up the files i downloaded optifine and complementary shaders they dont open! the error message says "unable to access jar file" and i haven't been able to...
  3. jar files wont open with java.

    in Windows 10 Software and Apps
    jar files wont open with java.: hello! i wanted to download minecraft shaders, i followed a guide on how to download everything but when i try to open up the files i downloaded optifine and complementary shaders they dont open! the error message says "unable to access jar file" and i haven't been able to...
  4. Please I am having difficulties adding Jar files on Java 17.

    in Windows 10 Gaming
    Please I am having difficulties adding Jar files on Java 17.: Please I am having difficulties adding Jar files on Java 17. When I right click on my project and go to properties and then Classpath, the window that pops up contains Modulpath, JRE System Librrary [javaSE-17] and Classpath. To which of them do I add the external Jar files?...
  5. Please I am having difficulties adding Jar files on Java 17.

    in Windows 10 Software and Apps
    Please I am having difficulties adding Jar files on Java 17.: Please I am having difficulties adding Jar files on Java 17. When I right click on my project and go to properties and then Classpath, the window that pops up contains Modulpath, JRE System Librrary [javaSE-17] and Classpath. To which of them do I add the external Jar files?...
  6. Can't open .jar files using Java 17, please help!

    in Windows 10 Software and Apps
    Can't open .jar files using Java 17, please help!: When I try to open .jar files using java 17 the file doesn't open. I tried reinstalling Java 17, and it still didn't work. When I clicked open with>choose another app>more apps>look for another app on this PC>Java folder>jdk-17.0.4>bin. There I found two different java files...
  7. 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....
  8. 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....
  9. 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....
  10. Java won't open a .Jar file, please help!

    in Windows 10 Customization
    Java won't open a .Jar file, please help!: So I have a file that is a .Jar and for some reason Adobe is set as the default application to open it. When I go to change the default the only thing that shows up is adobe or The Microsoft store. I have just recently updated to Java to 1.8 and it still won't show up in the...