“您的安全设置已阻止本地应用程序运行” Java 8
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/27141102/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
“Your security settings have blocked a local application from running” Java 8
提问by Daniel Jamieson
I am trying to run a small applet in my Chrome window, but am getting the error message.
我试图在我的 Chrome 窗口中运行一个小小程序,但收到错误消息。
I do see all the replies telling me to change my security to medium, but that option does not exist in version 8. So far several hours of googling and asking help from classmates has brought no progress.
我确实看到所有回复都告诉我将安全性更改为中等,但版本 8 中不存在该选项。到目前为止,谷歌搜索和向同学寻求帮助的几个小时没有取得任何进展。
Can anyone suggest something please?
任何人都可以请建议吗?
采纳答案by Vince Emigh
Mediumwas removed in Java 8u20:
在 Java 8u20中删除了 Medium:
Medium (removed from Java 8 Update 20 and later versions) Only unsigned applications that request all permissions are blocked. All other applications are allowed to run with security prompts. Selecting the Medium security level is not recommended and will make your computer more vulnerable should you run a malicious application.
中(从 Java 8 Update 20 和更高版本中删除)仅阻止请求所有权限的未签名应用程序。允许所有其他应用程序在安全提示下运行。不建议选择中等安全级别,如果您运行恶意应用程序,这会使您的计算机更容易受到攻击。
Keep in mind, this only applies to unsignedapplets that request allpermissions.
请记住,这仅适用于请求所有权限的未签名小程序。
What to do
该怎么办
To run these applets, you now must add the site to the exception list under the Security tab when you access your Java settings from the Control Panel.
要运行这些小程序,当您从控制面板访问 Java 设置时,您现在必须将站点添加到安全选项卡下的例外列表中。
If the applet is not on a website, you must use the applet viewer, which allows you to run applets outside of a browser
如果小程序不在网站上,则必须使用小程序查看器,它允许您在浏览器之外运行小程序