In Windows 10 and Windows 11, JAR files are not opened by default because there are no built-in applications that handle this file format. But you can install the free Java utility and access this file format on your computer. We’ll show you the process for that.
JAR stands for Java Archive, which is an archive consisting of multiple files. Developers can build applications and other elements in Java and save these files as JARs. However, it’s worth bearing in mind that JAR files contain executable code that makes them potentially dangerous file types. Make sure you trust the source of your JAR file before running it.
To run a JAR file on your Windows computer, you need to install the free Java utility. You can then double-click your JAR file to run it. You can also extract the files from a JAR archive using a free application like WinRAR, as we will explain below.
It’s worth checking if you already have Java installed on your computer, and if so, you can skip step 2 below.
To do this, first launch the Run box by pressing Windows+R. Then type the following into the box and press Enter:
In the Command Prompt window that opens, type the following command and press Enter:
If the command prompt displays the following message, then you do not have Java installed. In this case, install the utility using Step 2 Below.
'java' is not recognized as an internal or external command, operable program or batch file.
You can download and install Java for free on your Windows PC.
To do this, first launch a web browser on your computer and open Java Download Web Page. There, in the section “Windows”download the appropriate file for your machine.
CONNECTED: How to restart a Windows 11 PC
Now that you have Java installed, you are ready to run your JAR files.
This means, first, open a File Explorer window and locate your JAR file.
Right click your JAR file and select Open With > Java(TM) Platform SE Binary.
Type: If you don’t see this option in the “Open with” menu, click “Choose another app” and you’ll see the option.
If, instead of running it, you want to extract the files from your JAR file, you can do so using a free file compression application such as WinRAR.
In a File Explorer window, locate your JAR file. Then right-click on the file and select “Extract to [JAR File Name].”
WinRAR will create a new folder in your current folder. This new folder contains all the files extracted from your JAR file.
And this is how you access as well as look inside your JAR files in Windows. Enjoy!
Did you know any? file types can potentially harm your Windows computer? Check out our list of such file types to be aware.