News

Java is a very extensively used programming language. In this article, we explain how you can run Java programs from the Command Prompt.
If Java is not recognized as internal or external command, you need to make sure that the installation is not problematic and its path is recognized as system variables.
But these aforementioned Java command-line tools -- namely, javac, javap, jstat, jdeps and jar -- are the five that serious software developers need to know.
The next time you need to examine command line arguments and things get a little complex, whip out your trusty open source Java toolkit, and use Command Line Interface (CLI).
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 ...