How to open JAR files on Windows 10 and 11

The word "A WEEK" over a blue laptop photo.
Maria Vonotna/Shutterstock.com

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.

What is a JAR file and how can you open it?

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.

Step 1: Check if Java is already installed on your computer

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:

cmd

Type "cmd" in the Run box and press Enter.

In the Command Prompt window that opens, type the following command and press Enter:

java -version

Enter "java -version" and press Enter.

If you have Java installed on your computer, you will see your Java version. In this case, skip step 2 below and go straight to it Step 3.

See Java version.

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.

Java not installed message.

Step 2: Download and install Java on Windows

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.

Download Java for Windows.

When Java is downloaded, double-click the installer file to install the utility on your computer. Then restart your Windows 10 hours Windows 11 DESKTOP COMPUTER.

CONNECTED: How to restart a Windows 11 PC

Step 3: Run Windows 10 or Windows 11 JAR files

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.

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

Select Open With > Java(TM) Platform SE Binary from the menu.” width=”650″ height=”334″ src=”/pagespeed_static/1.JiBnMqyl6S.gif” onload=”pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);” onerror=”this.onerror=null; pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);”/></p>
<p>Your JAR file will run and you will be able to interact with it.  And that’s all.</p>
<h2 role=Optional: Extract files from a JAR file

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.

To get started, install the free version of the WinRAR on your computer. crack restart your computer.

In a File Explorer window, locate your JAR file. Then right-click on the file and select “Extract to [JAR File Name].”

Select Extract to [JAR File Name] from the menu.

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.

CONNECTED: 50+ file extensions that are potentially dangerous for Windows

Related Posts

Leave a Reply

Your email address will not be published.