Can I delete downloaded JNLP file (Java web start/JWS) from Java application?

后端 未结 1 897
孤城傲影
孤城傲影 2020-12-18 05:50

Google Chrome does not launch JNLP file automatically, so I recommend for our users this solution. It works but the downloaded JNLP file remains in download folder. Deleting

相关标签:
1条回答
  • 2020-12-18 06:30

    There is nothing in the Java WebStart paper that describes such a mechanism, hence you are in "vendor-specific" territory, and I do not think that there is an API letting your application know where the JNLP file is.

    You can, however, provide a replacement for javaws which invoke the original javaws with -wait and delete the JNLP file afterwards. This must be installed by the user.

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