Jar files not opening on Windows 10 [FIX]

Milan Stanojevic
by Milan Stanojevic
Deputy Editor
Milan has been enthusiastic about PCs ever since his childhood days, and this led him to take interest in all PC-related technologies. Before joining WindowsReport, he worked as a front-end web developer.
Affiliate Disclosure
  •  JAR files are used as program libraries or as standalone programs, like games or add-ons, for PC and phones.
  • If you can’t run jar files on your Windows 10 PC, you might need to reinstall Java Runtime Environment. 
  • When JAR files are not opening, another great method is to simply use a universal file opener.
  • Alternatively, some reported that turning your JAR file into a BAT file worked perfectly.
jar files don't open
One tool to open them all!
Popular file formats don’t need specific software anymore. Just download File Viewer Plus 4 and open them all in the same environment. Documents, media, archives, email, camera, infographics, source codes and many more - all are supported by this tool. Here’s what it does:

open all the files
in the same environment

Many websites use Java in order to provide you with certain functionality. In addition to websites, Java and Java applications can also run on your PC locally.

Java applications are saved as jar files, but many users report that jar files aren’t opening on Windows 10. While this can be a big problem, but there’s a way to fix it!

In this article, we will guide you with easy-to-follow step-by-step instructions in order to solve the issue.


How can I open Jar files on Windows 10?

1. Use File Viewer Plus 4

You can open .jar files and hundreds of different formats with a single application. FileViewer Plus 4 is a universal file viewer for Windows that can open and display over 400 different file types.

You can also browse, edit, and convert text and image files. Furthermore, it features a decompression tool, so you can easily decompress your archived files.

It is a great tool to try when you have to open files that you aren’t sure what software you should use. File Viewer can open less common file formats, like source code files.

File Viewer Plus 4

File Viewer Plus 4

Open and view your .Jar files with this great universal file opener tool.
Check priceVisit website

2. Reinstall or update Java Runtime Environment

  1. Press Windows Key + I to open the Settings .
  2. When the Settings opens, go to the Apps section.
  3. Locate Java from the list and choose the Uninstall option.
  4. After doing that, navigate to Java’s website and download the latest version of the software.
  5. Open the folder where you saved it, right-click the Java install wizard and select Run as administrator.
  6. Press the Install button to install Java.
  7. Once installed, check if the problem is resolved.

Note: Keep in mind that it’s not mandatory that you remove your previous Java installation, so you can skip that step and just install the latest version on top.

Java will also automatically check for updates, and if updates are available you’ll get a notification.

To update Java, simply click the notification and choose the Update option. Now follow the instructions to complete the update.

Also, make sure that you have the proper version (32-bit or 64-bit) for your system. You will not be able to use 64-bit libraries with a 32-bit Java software installed.


3. Set file association

  1. Right-click the jar file and choosing Open With > Choose another app.
  2. A list of suggested applications will appear. Click on More apps.
  3. Scroll all the way down and choose  Look for another app on this PC.
  4. Locate the java.exe file. It is usually located in Program Files\Java\Java version\Bin folder.
  5. Select the application and click OK button to set it as a default for .jar files.
  6. Click the Jar file to launch its program.

Note: Jar files can’t run on your PC if you don’t have the proper associations. For example, jar files can be associated to run with other applications or they could lack file association completely.


4. Use Jarfix

If you can’t open jar files on Windows 10, you might be able to fix the problem by using Jarfix. As previously mentioned, these types of problems can occur due to file association, but you can fix them easily with this simple application.

To do that, firstly download Jarfix from the below link, then run the application and follow the instructions on the screen. Keep in mind that you need to run this application as an administrator for it to work properly.

After using this application, you should be able to run jar files on Windows 10 without any issues.

Download Jarfix


5. Create a .bat file

  1. Locate your jar file and in the same folder, create a new Notepad file.
  2. To do that, right-click empty space in the directory and choose New > Text Document.
  3. When Notepad opens, enter java -jar filename.jar , where  filename.jar is the actual name of the Jar file.
  4. Navigate to the File > Save as.
  5. Set Save as type to All files, and enter the desired name for the file.
  6. You need to have .bat as an extension or else the solution won’t work.
  7. Save the file in the same location where your jar file is located.
  8. locate your .bat file and double-click it. Your jar file will now open.

Note: According to users, you can run jar files on Windows 10 by using this simple workaround. This solution requires you to create a .bat file and use it every time you want to run a specific jar file.

Keep in mind that you need to repeat this process for every jar file that you want to run on your PC. In addition, be sure to save the .bat file in the same location as your jar file.


6. Run it with Command Prompt

  1. In the Windows search bar type Command Prompt and choose Run as administrator.
  2. When Command Prompt opens, enter the following commands: cd then java -jar filename.jar
  3.  After doing that, your jar file should open without any issues.

Note: Keep in mind that you don’t have to move your jar file to the root directory, but by doing so you can access the file faster. If you choose not to move the file, you need to use cd command to navigate to the directory where the jar file is located.

Alternatively, you can enter java -jar followed by the path to the jar file. This isn’t the best solution but it is a solid workaround, so feel free to try it.


6. Use JAR Runner

Another freeware application that can help you open jar files on Windows 10 is JAR Runner. Simply download and install this tool and drag and drop the jar file to JAR Runner .exe file.

In addition, you can also choose to open jar files with JAR Runner. This is a simple and free application, so be sure to download JAR Runner.

Get JAR Runner


7. Check if your extension is correct

  1. Locate the problematic jar file in File Explorer.
  2. Go to the View menu and check File name extensions.
  3. Now, check if your jar file has .jar extension at the end.
  4. If not, rename the file and change the extension to .jar.
  5. After doing that, try to run the file again.

Note: If this problem persists, you might want to check your browser. Sometimes, it can download jar files incorrectly and can cause this problem to appear.

To fix it, be sure to use a different browser to download the file and check if that solves the problem.


Jar files not opening on Windows 10 can be a big problem, especially if you use Java applications frequently. However, you should be able to fix the problem simply by using one of our solutions!

Let us know if one of them worked for you in the comments below!

This article covers:Topics:

Leave a comment below!
9 comments

add a comment

Leave a Reply

Your email address will not be published. Required fields are marked *

FOR THE PROBLEM THAT CHONK121 AND BENE SEEM TO BE FACING, MAKE SURE YOU HAVE THE 64BIT JAVA ENVIRONMENT INSTALLED. iN MY CASE NO SOLUTION OFFERED BY THIS ARTICLE WORKED. hOWEVER WHEN TRYING TO LAUNCH THE APPLICATION FROM THE COMMAND LINE, AN ERROR SHOWED THAT THE 32BIT ENVIRONMENT WAS TRYING TO WORK WITH 64BIT LIBRARIES. mEANING THAT MY INSTALLED JAVA WAS 32BIT. SO I WENT TO THE JAVA WEBSITE AND MADE SURE THAT THE VERSION WAS 64BIT. UNINSTALLED THE 32BIT VERSION AND REPLACED IT WITH THE 64BIT AND EVERYTHING WORKED.
HOPE THIS HELPS.

Still doesn’t work. After I run Jarfix it tells me to install Java Runtime Environment even though I already have done so many times. I also tried the Jar Runner and it’s telling me that “windows cannot find ‘C: Program’ “. I have been having issues with .jar files since I can remember first trying to download and open them. If anyone can fix this issue I’ll be very greatful.

Same here. I have school work to do and nothing is working. It’s frustrating. Did you later on figure it out and how? Thank you

I just had to say this. I’m a minecraft gamer and I install mods that use java frequently, and it was really frustrating when they didn’t download as executable jar files. I was researching for about a half hour until I found this, and when I tried the jarfix thing, now they download the right way. Thank you so much!!! 🙂 🙂