6th December 2019

stackoverflow
16

How do I open a jar file on Windows 10?

2 Answers
  1. Start "Control Panel"
  2. Click "Default Programs"
  3. Click "Associate a file type or protocol with a specific program"
  4. Double click .jar.
  5. Browse C:Program FilesJava YOUR_JRE_VERSION injavaw.exe.
  6. Click the button Open.
  7. Click the button OK.

Similarly, you may ask, how do you open a jar file?

To open a jar file in Windows, you must have the Java Runtime Environment installed. Alternatively, you can use decompression software, such as an unzip utility, to view the files in the jar archive.

How do I run a jar file?

If you have a jar file called Example.jar, follow these rules:
  1. Open a notepad.exe.
  2. Write : java -jar Example.jar.
  3. Save it with the extension .bat.
  4. Copy it to the directory which has the .jar file.
  5. Double click it to run your .jar file.

What program runs jar files?

Open Windows Explorer (just open any folder) to get the "Tools" -> "Folder options" window. Change the program used to open JAR files. In the file select window, go to the folder where the JRE is installed (should be C:/Program Files/Java/ , mark "Always open with", and select the javaw.exe file.
Write Your Answer

Rate

80% people found this answer useful, click to cast your vote.

4 / 5 based on 3 votes.

Bookmark

Press Ctrl + D to add this site to your favorites!

Share