how to run jar application in windows code example
Example 1: how to run java program with external jar files in command prompt
javac -cp ".jar;." .java
java -cp ".jar;."
Example 2: run jar file
java -jar yourFile.jar
javac -cp ".jar;." .java
java -cp ".jar;."
java -jar yourFile.jar