How to fix Windows 10 error “unable to access jarfile”

Matthew Adams By: Matthew Adams
3 minute read

Home » Windows » How to fix Windows 10 error “unable to access jarfile”

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. 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.

Error: Unable to access jarfile

  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 Update Java Version to Windows

First, check you have the most update Java version installed. The most update 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.

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.

ALSO READ: I can’t open Steam on Windows 10: How can I fix this issue?

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.

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.

RELATED STORIES TO CHECK OUT:

Discussions

Next up

Top 6 professional grade software for editing podcasts

Tashreef Shareef avatar. By: Tashreef Shareef
Less than a 1 minute read

Whether you want to record a tech or sports podcast, recording a podcast is usually easy. Set up a mic, start the audio recorder, and […]

Continue Reading

5 easy-to-use movie maker software for Windows 10

Loredana Paraianu avatar. By: Loredana Paraianu
Less than a 1 minute read

Windows 10 users can find and use many video editors on the market. However, it is really difficult to select the most suitable video editing […]

Continue Reading

10 feature-rich PDF editors that are also very easy to use

Loredana Paraianu avatar. By: Loredana Paraianu
Less than a 1 minute read

The PDF format is one of the most popular file formats in the world. That’s why it is absolutely essential to have an excellent PDF […]

Continue Reading