.Jar files include java program within it. So, you need a java framework to run this type of file. If you double click on .exe type files, it stat to do some action because windows support this type of file. Similarly, you need a java framework to open and run this type of file. If you unzip the file through 7zip or Winrar, it won’t work. So what is the solution? Let’s see how to run and open .jar files in Windows 10.
Solution 1: Download and install Java framework.
Step 1: Download java software from this link or go to Google.com and write Java download. Click on the first link.
Step 2: Click on Agree and free download. Download will start automatically.
Step 3: Double click on it to run the application.
Step 3: Some times this process may fail due to an existing Java files on your device. I such case, first download java remover tool and and run it to remove the older file and install the current Java framework.
That’s the process to run and open ,Jar file in Windows 10. If this method does not work, move to the next method.
Solution2: Open .Jar file in Windows 10 through properties
Step 1: Open the folder in which the file located. Right click on it.
Step 2: Select properties.
Step 3: Click on Change in the properties.
Step 4: A new window will open. Click on more apps.
Step 5: Scroll down and select look for another app on this PC.
Step 6: File explorer will open, click on C: drive on the left panel.
Step 7: Go to the location C drive > Program Files (x86)> Java> re1.8.0_251> bin> javaw.
Step 8: Once you click on javaw, it takes you back to the properties window. Click on Apply and then Ok.
Now you can open and run .Jar file in Windows 10. If this method does not work, try the next one.
Solution 3: Open .jar files through command prompt
Step 1: Type cmd in the search bar and right click on the result.
Step 2: Select Run as Administrator.
Step 3: Write the command and hit Enter.
ftype jarfile="C:\Program Files (x86)\Java\jre1.8.0_251\bin\javaw.exe" -jar "%1" %*
Now check if problem is solved. Otherwise go to the second method.
Solution 4: Create a .bat file to run .jar files
Step 1: Type Notepad in the search bar and open it.
Step 2: Type the same as below, where new is the jar file name. You have to write the jar file name in the place of new (the file you want to open).
java -jar new.jar
Step 3: Type filename new.bat (for example), or whatever you want but keep .bat extension.
Step 4: Choose the location where the jar file locates. Change save as type to all files, then click on save.
Now double click on the bat file, it will open smoothly.
If none of the method works, download Jarfix to open this type of file.
This is the methods to run and open .jar file in Windows 10. Let me know, which method works for you. If you face any problem, comment below.
- 7 Ways to Fix Windows Update Error 0x80010108 on Windows 10
- How To Change Default User At Startup in Windows 10
- 5 Ways to fix Windows update error 0x8024a000 In Windows 10/8/7
- 5 Ways to fix failure configuring Windows updates, reverting changes in Windows 10
- 5 Ways to Fix Windows Media Player is not working in Windows 10