Windows 10: Can't execute .jar file

Discus and support Can't execute .jar file in Windows 10 Network and Sharing to solve the problem; So right now im trying to open a jar file but ive had no success. Ive seen videos for help but noticed that most computers say "executable jar file"... Discussion in 'Windows 10 Network and Sharing' started by Clark Mont, Jul 11, 2021.

  1. Can't execute .jar file


    So right now im trying to open a jar file but ive had no success. Ive seen videos for help but noticed that most computers say "executable jar file" instead of my "jar file". Can someone help with how to change it to executable?

    :)
     
    Clark Mont, Jul 11, 2021
    #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, Jul 11, 2021
    #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, Jul 11, 2021
    #3
  4. Can't execute .jar file

    Executable Jar files

    Hi Pankaj,

    Perhaps an updated version of the program was released. We suggest reinstalling the program, and check if it helps.

    You may also refer to this thread for additional troubleshooting steps to
    resolve the concern. Community members have found it helpful.

    Let us know if there's anything else we can help you with.
     
    Patricia Yu, Jul 11, 2021
    #4
Thema:

Can't execute .jar file

Loading...
  1. Can't execute .jar file - Similar Threads - Can't execute jar

  2. I can't execute .jar files at all

    in Windows 10 Gaming
    I can't execute .jar files at all: good afternoon everyone, I can't open .jar files on my windows 11 laptop.I've tried most of the fixes that pop up online:-reinstalling Java;-opening as administrator with the JavaTM Platform SE Binary;-I have my system up to date;-I tried changing variables on the system...
  3. I can't execute .jar files at all

    in Windows 10 Software and Apps
    I can't execute .jar files at all: good afternoon everyone, I can't open .jar files on my windows 11 laptop.I've tried most of the fixes that pop up online:-reinstalling Java;-opening as administrator with the JavaTM Platform SE Binary;-I have my system up to date;-I tried changing variables on the system...
  4. .jar files only execute through CMD

    in Windows 10 Network and Sharing
    .jar files only execute through CMD: Every once in a while, my pc no longer recognizes a default app for jar files and I have to manually run them. I can open them with the command 'javaw.exe -jar' but they will not open otherwise. I have gone to Task Manager to check the path of the javaw.exe that runs when I...
  5. .jar files only execute through CMD

    in Windows 10 Gaming
    .jar files only execute through CMD: Every once in a while, my pc no longer recognizes a default app for jar files and I have to manually run them. I can open them with the command 'javaw.exe -jar' but they will not open otherwise. I have gone to Task Manager to check the path of the javaw.exe that runs when I...
  6. .jar files only execute through CMD

    in Windows 10 Software and Apps
    .jar files only execute through CMD: Every once in a while, my pc no longer recognizes a default app for jar files and I have to manually run them. I can open them with the command 'javaw.exe -jar' but they will not open otherwise. I have gone to Task Manager to check the path of the javaw.exe that runs when I...
  7. Windows Folder > Executable Jar File

    in Windows 10 Ask Insider
    Windows Folder > Executable Jar File: I was editing some code in a Minecraft mod that ran as a JAR file. To edit the files inside I needed to extract the files, making the mod a windows folder. Now I can't figure out how to 're-compile' the folder into a JAR to run it. I used BreeZip to extract. submitted by...
  8. Can't download .jar files

    in Windows 10 Network and Sharing
    Can't download .jar files: I'm trying to download OptiFine and Forge for Minecraft and you download them using .jar files, but when I press download it brings me to a page saying that the server IP for adfoc.us can't be found. I don't know if this is because of the firewall or if it's something else....
  9. .jar File is not executed?

    in Windows 10 Network and Sharing
    .jar File is not executed?: Good day! I was about to run a .jar file using the Windows command prompt (cmd for short. The program is supposed to be a console program. You will find the mistake in the picture. [ATTACH] MfG Tomic .jar File wird nicht ausgeführt?
  10. Can't find Jar files

    in Windows 10 Ask Insider
    Can't find Jar files: Sorry if what I say doesn't make much sense, I'm not that great with software. I'm trying to let a jar file through my firewall. I go to windows security, firewall and network protection, then Allow an app through firewall, finally allow another app. When I do this I choose...

Users found this page by searching for:

  1. Why Cant I Download Jar File On Java Phone