I have a JAR file named helloworld.jar. In order to run it, I\'m executing the following command in a command-line window:
use .bat file:
.bat
Put your command in a .bat file. here, your command will be java -jar path\yourJarName.jar. Something like: java -jar C:\workspace\myApplication.jar
java -jar path\yourJarName.jar
Something like: java -jar C:\workspace\myApplication.jar
Save it and double click on bat file to run your jar.