How to publish a Java Web Start jnlp application without security warnings?

前端 未结 2 1638
自闭症患者
自闭症患者 2021-01-15 11:24

I have a Java application that is launched from a jnlp file off of a website. I\'m trying to get it to run without flashing up a bunch of security warnings before it runs.

2条回答
  •  臣服心动
    2021-01-15 11:52

    Yes , you have to update all jars
    You can add these properties directly into manifest of the jar files (all jars) from a file -

    In your plugins directory :

    jar ufm  additionalAttribute.txt
    

    This additionalAttribute.txt will contain your additional manifest attribute like -

    Permissions: all-permissions  
    Codebase: *  
    Application-Name: My App  
    Caller-Allowable-Codebase: *  
    Trusted-Library: true
    Application-Library-Allowable-Codebase: *
    

提交回复
热议问题