applet打包的MANIFEST.MF配置

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

主要两个配置:

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

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

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

参考

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

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

你可能感兴趣的:(applet打包的MANIFEST.MF配置)