How to Run a Java .Jar File

Tags: Java, run, jar, file

1) Install the JDK

2) Check if UAC needs to be disabled and then open a command prompt (Run As Administrator)

3) Navigate to the directory that has the jar file you wish to run

3) use the command:

"C:\Program Files\Java\jdk1.8.0_211\bin\java.exe" -jar myjarfile.jar

No Comments

You must log on to comment.