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 arguments?
For instance, I need to say java main.class arg1 arg2
and the arg1
and arg2
need to be mentioned as part of JNLP file.
Look to the description of the
application-desc
Element for further details of theargument
element.