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

相關文章
相關標籤/搜索