在浏览器(Chrome / Firefox浏览器)和QUOT运行本地Java小程序,您的安全设置都从运行&QUOT阻塞的本地应用程序;
我试图运行的的Java Applet (HTML文件),但浏览器口口声声说:
I'm trying to run a Java Applet (html file), but the browser keeps saying:
您的安全设置已经从运行阻止本地应用程序
"Your security settings have blocked a local application from running"
我一直在使用Chrome和Firefox尝试,但我得到了同样的错误。我已经升级到Java的最新版本,而Chrome在仍然说
I have tried using Chrome and Firefox but i get the same error. I have upgraded to the latest version of Java, but Chrome still says in
镀铬://插件/下载重要安全更新
chrome://plugins/ "Download Critical Security Update"
即使我可以运行Java applet(不在本地)
even though i can run Java applets (not locally)
即时通讯使用的的Ubuntu 13.04 64位
阅读的 Java 7的更新21安全性改进的详细提..
随着引入的变化是最有可能的,没有最终用户可以当他们是自签名或签名来运行应用程序。
With the introduced changes it is most likely that no end-user is able to run your application when they are either self-signed or unsigned.
..我想知道怎样看待这件事的松类文件 - 所有的简单的小程序
..I was wondering how this would go for loose class files - the 'simplest' applets of all.
结果您的安全设置都从运行阻止本地应用程序
Your security settings have blocked a local application from running
这是看到了由松类文件的小程序对话框中加载了在本地文件系统当JRE设置为默认的高安全设置。
That is the dialog seen for an applet consisting of loose class files being loaded off the local file system when the JRE is set to the default 'High' security setting.
请注意,JRE轻微的怪癖只生产上的3点。
Note that a slight quirk of the JRE only produced that on point 3 of.
- 装入小应用程序页面看到,导致一个空的控制台,一个破碎的小程序的象征。
结果打开Java设置和级别设置为中。
结果关闭浏览器与Java设置。 - 装入小应用程序页面看到该小程序。
结果打开Java设置和级别设置为高级即可。
结果关闭浏览器与Java设置。 - 装入小应用程序页面看到一个破碎的小程序符号的&安培;上面的对话框。的
如果您加载在这个可调整大小的小程序演示看到简单的小程序(松类文件) A>关闭在网络 - 它拥有的小程序
元素:
Internet
If you load the simple applet (loose class file) seen at this resizable applet demo off the internet - which boasts an applet
element of:
<applet
code="PlafChanger.class"
codebase="."
alt="Pluggable Look'n'Feel Changer appears here if Java is enabled"
width='100%'
height='250'>
<p>Pluggable Look'n'Feel Changer appears here in a Java capable browser.</p>
</applet>
这似乎也是成功加载。这意味着: -
It also seems to load successfully. Implying that:-
的从本地文件系统加载的小程序,现在都受到了严格的安全沙箱比来自互联网或本地服务器加载。的
Applets loaded from the local file system are now subject to a stricter security sandbox than those loaded from the internet or a local server.
从Java 7更新51。
As of Java 7 update 51.
- 非常高:最安全的设置 - 只有从一个值得信赖的权威未到期的鉴定证书的Java应用程序将被允许运行
- 高(最低推荐):由受信任的权威鉴定证书的Java应用程序将被允许运行
- 中 - 所有的Java应用程序将被允许后,presenting安全提示运行的
- Very High: Most secure setting - Only Java applications identified by a non-expired certificate from a trusted authority will be allowed to run.
- High (minimum recommended): Java applications identified by a certificate from a trusted authority will be allowed to run.
- Medium - All Java applications will be allowed to run after presenting a security prompt.