I have a JNLP package for my application. Now I have the need to pass command line arguments to my application. How do I extend my JNLP file to list the command line argumen
Look to the description of the application-desc Element for further details of the argument element.
The
applicationelement indicates that the JNLP file is launching an application (as opposed to an applet). ..Arguments can be specified to the application by including one or more nested
argumentelements.
For example:
<application-desc main-class="Main">
<argument>arg1</argument>
<argument>arg2</argument>
</application-desc>