applet打包的MANIFEST.MF配置

Permissions: all-permissions
Codebase: *
Manifest-Version: 1.0
Trusted-Library: true
Created-By: Fat Jar Eclipse Plug-In

主要两个配置: html

Trusted-Library: true,加了会避免出现同时签名和未签名代码,通常是用到了第三方代码才会出现这个的警告 java

Permissions: all-permissions,给予最高的权限。 web

以前遇到了弹出警告和权限不足的错误,加上这两个后解决问题 oracle

参考 app

http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/manifest.html ide

http://stackoverflow.com/questions/19393826/java-applet-manifest-allow-all-caller-allowable-codebase ui

相关文章
相关标签/搜索