How to fix Unable to access jarfile error on Windows 10

4 minute read

Home » Fix » How to fix Unable to access jarfile error on Windows 10

Java browser plug-ins might have gone out of fashion, but there are still many programs that run off Java. You can open Java programs with JAR files.

Don't forget to whitelist our website. This notification will not disappear until you do so. Click here to learn how.
You hate ads, we get it. We do as well. Unfortunately, this is the only way for us to continue providing stellar content and guides on how to fix your biggest tech issues. You can support our team of 30 members to continue doing their job by whitelisting our website. We only serve a handful of ads per page, without obstructing your access to content.

However, some Java software users can’t always open JAR programs when the “Error: Unable to access jarfile” error message pops up. These are a few resolutions for the jarfile error message.

How can I get rid of Unable to access jarfile error on Windows 10?

  1. Add the Most Update Java Version to Windows
  2. Select Java as the Default Program for JAR Files
  3. Select the Show Hidden Files, Folders, and Drives Option
  4. Open the Jarfix Software

1. Add the Most Updated Java Version to Windows

First, check you have the most updated Java version installed. The most updated version is currently Java 8 161. This is how you can update Java in Windows 10.

  • First, press the Win key + R keyboard shortcut to open Run.
  • Enter ‘appwiz.cpl’ in the Run text box, and click the OK button.
  • Enter ‘Java‘ in the Search Programs search box as shown in the snapshot below.

  • Then select Java to check what version you have. The version is shown at the bottom of the window and listed in a Version column.
  • If you don’t have the most update Java version, press the Uninstall button.
  • Click the Yes button to confirm.
  • Open this webpage in your browser.

  • Press the Free Java Download button to save the JRE setup wizard.
  • Thereafter, a dialog box might open from which you can press a Run button launch the JRE installer. If not, open the folder you saved the setup wizard in, right-click the Java install wizard and select Run as administrator.
  • Press the Install button on the setup wizard’s window to install Java.

Nothing happens when you click on Run as administrator? Don’t worry, we’ve got the right fix for you.

If you want to fix outdated Java messages on Windows 10, follow the simple steps from this guide.

2. Select Java as the Default Program for JAR Files

Jarfile error messages usually pop up when Java isn’t configured as the default software for a JAR file. Instead, an archive utility might be the associated default program for JARs.

So selecting Java as the default program for a JAR file might kick-start its program. This is how you can configure the default software for the JAR format.

  • Open File Explorer and the folder that includes your JAR file.
  • Right-click the JAR file and select Open with > Choose default program > Choose another app to open the window in the shot directly below.

  • Select Java if it’s listed among the default programs.
  • If Java isn’t listed among the programs, select the Look for another app on this PC option.
  • Then browse to the Java folder, select Java and press the Open button.
  • Press the OK button on the Open with window.
  • Click the JAR to launch its program.

Can’t change the default apps in Windows 10? Take a look at this guide and learn how to do it with ease.

3. Select the Show Hidden Files, Folders, and Drives Option

  • The “unable to access jarfile” error message can also pop up when the Show Hidden Files, Folders, and Drives option isn’t selected. To select that option, open File Explorer.
  • Click the View tab and press the Options button to open the window directly below.

  • Select the View tab shown directly below.

  • Select the Show Hidden Files, Folders, and Drives Files and Folders option.
  • Press the Apply button.
  • Press the OK button to close the window.

If you need more info on how to open hidden files in Windows 10, check out this handy guide.

4. Open the Jarfix Software

Jarfix is a lightweight program designed to fix Java programs that aren’t starting. The program fixes JAR filetype associations.

Click jarfix.exe on this webpage to save the software to a folder. Then you can click the jarfix.exe to open the window below and fix the JAR association. That’s all there is to it, and there are no further options to select on the Jarfix window.

Those are a few resolutions that might fix the “unable to access jarfile” error and kick-start your JAR software. For further details on how to launch JAR files in Windows, check out this article.

If you have any other questions, don’t hesitate to leave them in the comments section below.



Next up

Waze not updating maps and driving info

Vlad Turiceanu By: Vlad Turiceanu
3 minute read

Waze, along with Google Maps and Apple Maps, are some of the most popular GPS navigation software in the world. If the maps from Google […]

Continue Reading

Steam Link not recognizing controllers [FIX]

Alexandru Voiculescu By: Alexandru Voiculescu
2 minute read

Steam Link is an easy-to-use console that connects your PC to your TV. So, this way you can play on a bigger screen from the […]

Continue Reading

How to use Google Stadia on Windows 10

Alexandru Voiculescu By: Alexandru Voiculescu
2 minute read

Stadia is a new gaming platform from Google. The main feature that separates it from other gaming platforms is accessibility. In other words, you can […]

Continue Reading