How to open or run a JAR file on Windows-Updated 2020

JAR files are like EXE files except that they need a Java framework to run. Imagine them as EXE files on Windows which you can double click to launch the program. When you run an EXE file, it uses Windows OS support. Similarly, when you run JAR files, you need the help of Java Framework to open.  When we say open JAR file, we are not opening the file like an archive file, but we are executing it. In this post, I will share how to open or run a JAR file on Windows 10.

While Archiver tools like 7-Zip can extract content from JAR files, but doing that is pointless – we need to execute the files just as we run the EXE files.

How to run a JAR file in Windows 10

Since Java files can’t run on Windows on its own, you need to install the Java Framework or what is popularly called as Java. That said, Java files can be dependent on a particular version of Java. You will need to take care of that as well.

  • Download and install Java.
  • Set System path
  • Run the JAVA file
  • Set Java file association.

1] Download and install Java Framework

To run a JAR file on Windows, you need to install Java on your system. Go to Java Download Page, and install it. The default will install the latest version only. However, if your JAR file needs a different version of Java, you can download it from here.

Sometimes, an existing older version of Java can cause an issue. So, if you are facing such a problem, make sure to remove the older version first. Use the official Java Remover tool to get rid of it. Then install the latest version.

2] Set System Path for Java

Next, you need to set the JAVA_HOME path. It makes sure that any JAVA file you run can find the necessary libraries for the program. You can also use the command line to echo the Java path to figure out if it is correct.

3] Run a Java or JAR file

Now when you double click on the JAR file, it will automatically run like how EXE files execute. If there is a problem with version, the file should inform you.

If you have a JAR file which is not running on its own, then you can use java JDK to run it. Open Command Prompt, and type java -jar name_of_jar_file.jar. It will execute the JAR file automatically.

4] Set the Java or JAR file association

The last step is to establish a file association with  Java run time. It will make sure that every time you run, you are not asked to select a program which can execute it.

Shift + Right-click on the file, and select Open with option.

Select ‘Choose another app.’

If Java(TM) Platform SE binary is not in your list, scroll, and then click on More Apps.

And then choose Select app from the computer.

You should see ‘Java(TM) Platform SE binary’ listed in this context menu but don’t select it.

Locate the file which can run the JAVA or JAR file which is available in the path we suggested above.

Make sure to check the box which says, “Always use this program.”

Once done, all future JAR files will automatically open with Java run time library. You should see the Java icon for all of these files.

Talkpoints hope these tips where easy to understand, and were of help to open or run a Java file on Windows

surendra Singh simpal

A digital marketing expert, A blogger, editor-in-chief, of talkpoints.org. Sometimes, when I don’t have anything important to do, I write

25 thoughts on “How to open or run a JAR file on Windows-Updated 2020

  1. This is amazing video editor tool also thanks for giving me a suitable editor data and info to boost my knowledge, so thanks for it

  2. Hi there to all, the contents existing at this web page are in fact awesome for people knowledge, well, keep up the nice work fellows.|

  3. Someone necessarily help to make seriously posts I might state. That is the first time I frequented your website page and up to now? I amazed with the research you made to create this particular submit incredible. Fantastic process!|

  4. Hi there would you mind sharing which blog platform you’re using? I’m planning to start my own blog soon but I’m having a tough time selecting between BlogEngine/Wordpress/B2evolution and Drupal. The reason I ask is because your layout seems different then most blogs and I’m looking for something completely unique. P.S Sorry for getting off-topic but I had to ask!|

  5. A motivating discussion is worth comment. I believe that you should write more about this subject matter, it may not be a taboo matter but typically people do not discuss these issues. To the next! Many thanks!!|

  6. Hey! I know this is kinda off topic however I’d figured I’d ask. Would you be interested in exchanging links or maybe guest writing a blog post or vice-versa? My blog discusses a lot of the same subjects as yours and I believe we could greatly benefit from each other. If you happen to be interested feel free to send me an email. I look forward to hearing from you! Superb blog by the way!|

  7. Nice weblog here! Additionally your website loads up fast! What web host are you the usage of? Can I get your affiliate hyperlink for your host? I wish my web site loaded up as fast as yours lol|

  8. Hi there, I found your website by way of Google even as looking for a comparable matter, your web site came up, it seems good. I have bookmarked it in my google bookmarks.

  9. That is really interesting, You’re an excessively skilled blogger. I’ve joined your feed and sit up for in quest of extra of your excellent post. Also, I have shared your website in my social networks|

  10. I’m not that much of a internet reader to be honest but your sites really nice, keep it up! I’ll go ahead and bookmark your website to come back later on. All the best|

  11. Hi, I log on to your blog daily. Your story-telling style is awesome, keep it up!|

  12. Pretty section of content. I just stumbled upon your weblog and in accession capital to assert that I get in fact enjoyed account your blog posts. Anyway I’ll be subscribing to your feeds and even I achievement you access consistently rapidly.|

  13. It’s appropriate time to make some plans for the future and it is time to be happy. I have read this post and if I could I desire to suggest you few interesting things or suggestions. Perhaps you could write next articles referring to this article. I wish to read more things about it!|

  14. It’s really very complicated in this full of activity life to listen news on Television, so I only use the web for that purpose, and take the newest information.|

  15. Greetings from Florida! I’m bored to tears at work so I decided to check out your site on my iphone during lunch break. I enjoy the information you provide here and can’t wait to take a look when I get home. I’m surprised at how quick your blog loaded on my phone .. I’m not even using WIFI, just 3G .. Anyways, very good blog!|

  16. I do not even know how I ended up here, but I thought this post was great. I don’t know who you are but certainly you are going to a famous blogger if you aren’t already 😉 Cheers!|

  17. It’s remarkable to go to see this website and reading the views of all colleagues concerning this paragraph, while I am also keen of getting familiarity.|

  18. Hey there! I just wanted to ask if you ever have any trouble with hackers? My last blog (wordpress) was hacked and I ended up losing several weeks of hard work due to no data backup. Do you have any methods to stop hackers?|

  19. My partner and I absolutely love your blog and find nearly all of your post’s to be exactly I’m looking for. Do you offer guest writers to write content for you personally? I wouldn’t mind producing a post or elaborating on some of the subjects you write about here. Again, awesome site!|

Leave a Reply

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

%d bloggers like this: