我无法理解为什么在按照以下链接中的指示部署项目后,在浏览器中运行小程序时会出现问题:http://docs.oracle.com/javase/tutorial/deployment/applet/deployingApplet.html。此外,您还可以参考下面这个链接:http://www.coderanch.com/t/258307/Applets/java/Signing-JAR-certificate。请注意,需要查看jar清单代码。
Permissions: all-permisisons
Application-Name:------------
但仍然存在浏览器错误
未知发布者的安全警告 ExceptionInInitializerError AccessControlException
是否签署我的项目的jar包出现问题? 我在我的项目中使用第三方jar文件,例如jna,vlcj。需要对这些jar进行签名吗?签名时在cmd中会出现keystore.jks和.crt文件的FileNotFoundException。
使用cmd对jar进行签名
c:\<jdk-path>\bin>jarsigner path\abc.jar alias-name
在命令提示符上显示
jar signed.
Warning:
No -tsa or -tsacert is provided and this jar is not timestamped. Without a times
tamp, users may not be able to validate this jar after the signer certificate's
expiration date (4751-12-22) or after any future revocation date.