How to use JNLP to pass command line arguments to the application?

后端 未结 1 1555
长情又很酷
长情又很酷 2020-12-17 22:11

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

1条回答
  •  渐次进展
    2020-12-17 23:09

    Look to the description of the application-desc Element for further details of the argument element.

    The application element 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 argument elements.
    For example:

      
        arg1
        arg2
      
    

    0 讨论(0)
提交回复
热议问题