ニュース

How to run a Java program using Command Prompt First things first, you will have to write the code that you want to run and save that as a Java executable file.
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 ...