且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在没有安全警告的情况下发布Java Web Start jnlp应用程序?

更新时间:2022-11-06 18:08:34

是的,你必须更新所有的罐子

您可以直接将这些属性添加到文件的清单(所有jar ) -

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

在您的插件目录中:

jar ufm <jar_file> additionalAttribute.txt

此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: *