Nuacht

How do you run a JAR file on Windows, Mac or Linux? Double click the JAR? Run the JAR at the command line? Several approaches will work if you have Java or the JDK installed.
Are you getting started with PowerShell? If so, this guide will help you to create and run your first script on Windows.
Here's a quick example of how to run a Jenkins war file from the command line, DOS prompt or terminal window in Linux/Ubuntu. The short story? java -jar jenkins.war ...