When I run a program from a JAR file (with java -jar) can I pass it command-line arguments?

John Zukowski

Execution of a class directly from a JAR file is just like running the program from the current working directory, without even extracting the files. This means that yes, you can pass in command-line arguments.

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact