Java - How to get permission in Java Web Start

前端 未结 3 1655
余生分开走
余生分开走 2020-12-19 18:16

Hi managed to create the jar and .jnlp files for my Java application but running into trouble when it runs. Launches okay with Java Web Start but I think I need to do someth

3条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-19 18:54

    If you want access to the file system you need to change your JNLP file to include:

    
    

    This requires you to also sign your jar files.

    Another option is to package the file inside the jar as a resource and you don't have to do all that.

提交回复
热议问题