简体   繁体   English

Java Applet未在浏览器中运行

[英]Java Applet is not running in a browser

I am trying to run my applet in a browser, chrome/IE but I get the following message: 我试图在浏览器chrome / IE中运行我的applet,但收到以下消息:

Your security settings have blocked a local application from running

Due to Oracle, changing security level in java control panel from high to medium will solve the issue, but it does not. 由于使用了Oracle,将Java控制面板中的安全级别从高更改为中即可解决该问题,但不能解决。 I have even tried the low level, and custom level too enabling all applications to run without any prompt. 我什至尝试了低级别和自定义级别,也使所有应用程序都可以运行而没有任何提示。 I have also changed the advanced setting to allow unsigned applets to run. 我还更改了高级设置,以允许运行未签名的小程序。 It does not work in any way. 它没有任何作用。 Any help is appreciated. 任何帮助表示赞赏。

Do the following 请执行下列操作

  1. Go to IE 前往IE
  2. Tools -> Internet Options 工具-> Internet选项
  3. Go to the Advanced Tab 转到高级选项卡
  4. Under Java(Sun) Select the check box saying 'Use JRE ... for applet' (requires restart) 在Java(Sun)下,选中“使用JRE ...用于小程序”复选框(需要重新启动)
  5. Select Apply/Ok. 选择“应用/确定”。 Restart IE and try loading the applet again. 重新启动IE,然后尝试再次加载该applet。

You can either make sure that the applet is signed by a valid cert, and it is not a self-signed cert. 您可以确保小程序已由有效证书签名,并且它不是自签名证书。 Or if you just want to bypass the warning, you can add the domain address to Exception Site List. 或者,如果您只是想绕过警告,则可以将域地址添加到“例外站点列表”中。

Java Control Panel -> Security tab -> Exception Site List Java控制面板->安全选项卡->例外站点列表

and also you may also try to add the website to the Trusted Zone in your IE if you are sure that the website is safe. 如果您确定该网站是安全的,也可以尝试将该网站添加到IE中的“受信任区域”中。 In Trusted Zone, there are fewer restrictions to block you from running applet and running the out-of-date ActiveX. 在“受信任的区域”中,有较少的限制来阻止您运行applet和运行过时的ActiveX。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM