Java 客户端 Windows8 操作系统上的安全设置错误阻止了应用程序

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/23270818/
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

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-13 21:35:49  来源:igfitidea点击:

Application blocked by security settings error on client' Windows8 OS

javaapplet

提问by VickyVilas

We are facing this issue on our clients machine.

我们在客户机器上面临这个问题。

Our project uses a third party java applet to open the files in respective softwares. On windows7 we don have any issue but we have issue on windows8 OS

我们的项目使用第三方 java 小程序在各自的软件中打开文件。在 windows7 上我们没有任何问题,但在 windows8 操作系统上我们有问题

our project is working fine in IE10 and FF browsers. of windows8 this error is thrown only in chrome.

我们的项目在 IE10 和 FF 浏览器中运行良好。在 windows8 中,此错误仅在 chrome 中引发。

but when we execute same third party demo site which uses this same java applet to open the files in respective softwares, that is working fine in all browsers without making any changes in settings.

但是当我们执行相同的第三方演示站点时,该站点使用相同的 Java 小程序在各自的软件中打开文件,这在所有浏览器中都可以正常工作,无需对设置进行任何更改。

I have read many replies from different ppl that we need to changes the client java secutiry settings. But how can we ask all our clients to make this setting so this is not a proper solution for our problem. Please see the image below

我已经阅读了许多来自不同人的回复,我们需要更改客户端 Java 安全设置。但是我们怎么能要求我们所有的客户进行这个设置,所以这不是我们问题的正确解决方案。请看下图

![Error message][1] is

![错误信息][1]是

"Your security system have blocked an application with expired or not yet valid certificate from running"

“您的安全系统已阻止运行具有过期或尚未有效证书的应用程序”

please help me solve this ..

请帮我解决这个..

回答by azenshpuk

Go to Control Panel -> Java -> Security -> Edit Site List

转到控制面板 -> Java -> 安全 -> 编辑站点列表

回答by Eclipses

Solution published in my website: http://www.myerrorsandmysolutions.com/application-blocked-by-security-settings/

解决方案发布在我的网站:http: //www.myerrorsandmysolutions.com/application-blocked-by-security-settings/

  1. Go to Control Panel
  2. Java
  3. in the Securitytab click the “Edit Site List…” button
  4. click Addbutton
  5. insert the URL of the website that you want access in (URL should begin with http:// or https://)
  6. click Addbutton
  7. click OKbutton
  8. click OKbutton
  1. 进入控制面板
  2. 爪哇
  3. 在“安全”选项卡中单击“编辑站点列表...”按钮
  4. 单击添加按钮
  5. 插入要访问的网站的 URL(URL 应以 http:// 或 https:// 开头)
  6. 单击添加按钮
  7. 单击确定按钮
  8. 单击确定按钮

Note: you could find an icon Java (32-bit) rather than Java.

注意:您可以找到一个图标 Java(32 位)而不是 Java。

If you won't find in Control Panel a Java icon or the “Edit Site List…” button is missing and you are sure that Java is installed, open a text editor and create a file with name exception.sitescontaining the URL of the website that you want access in (URL should begin with http:// or https://) and save it in the following path:

如果您在控制面板中找不到 Java 图标或缺少“编辑站点列表...”按钮并且您确定安装了 Java,请打开文本编辑器并创建一个名为exception.sites的文件,其中包含站点的 URL您要访问的网站(URL 应以 http:// 或 https:// 开头)并将其保存在以下路径中:

C:\Users\username\AppData\LocalLow\Sun\Java\Deployment\security where username is the name of the user.

C:\Users\username\AppData\LocalLow\Sun\Java\Deployment\security 其中 username 是用户名。

回答by pankaj kushwaha

go to Control Panel -> Java -> Security , choose minimum security level , Medium(Least secure setting), then click ok , save and try again...

转到控制面板 -> Java -> 安全性,选择最低安全级别,中(最低安全设置),然后单击确定,保存并重试...