Java 8 Update 20 缺少安全选项

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

Java 8 Update 20 Missing security options

javasecurityappletmissing-features

提问by Grim Reaper

I have Java 8 update 20 and I just made my first applet, but when I try to run it in the browser it says that my security settings have blocked it! After I go into my java settings and go in the security tab all I see it:

我有 Java 8 更新 20 并且我刚刚制作了我的第一个小程序,但是当我尝试在浏览器中运行它时,它说我的安全设置已阻止它!在我进入我的 Java 设置并进入安全选项卡后,我看到了它:

Enable Java content in the browser (It is a checkbox) Security level for applications not on the Exception site list Very high (RADIO BUTTON) High (RADIO BUTTON)

在浏览器中启用 Java 内容(这是一个复选框) 不在例外站点列表中的应用程序的安全级别 非常高(RADIO BUTTON) 高(RADIO BUTTON)

And then I have my exception site list... I am missing the Medium radio button? I can't run my applet without the medium option! I have tried adding my site to the exceptions list but it didn't work... I have deinstalled the previous version of java which was Java 8 update 11. What's the problem??? Thanks!

然后我有我的例外站点列表...我缺少中单选按钮?如果没有中等选项,我将无法运行我的小程序!我曾尝试将我的网站添加到例外列表中,但它不起作用...我已经卸载了先前版本的 Java,即 Java 8 更新 11。有什么问题???谢谢!

回答by Elliott Frisch

If I understand your question;

如果我理解你的问题;

I am missing the Medium radio button? ... What's the problem?
I am missing the Medium radio button? ... What's the problem?

Correct. You are missing the Medium radio button now. To quote the 8u20 release notes

正确的。您现在缺少“中”单选按钮。引用8u20 发行说明

Java Control Panel Changes

The Update tab in the Java Control Panel now enables the users to automatically update 64-bit JREs (in addition to 32-bit versions) that are installed on their system.

The Mediumsecurity level has been removed. Now only Highand Very Highlevels are available.

Java 控制面板更改

Java 控制面板中的更新选项卡现在使用户能够自动更新安装在其系统上的 64 位 JRE(除了 32 位版本)。

Medium安全级别已被删除。现在只有HighVery High级别可用。

You can develop with an applet viewer; you'll need to sign your code for security reasons.

您可以使用小程序查看器进行开发;出于安全原因,您需要对代码进行签名。

Edit

编辑

From Deploying an Applet(The Java Tutorials) -

部署小程序(Java 教程) -

To deploy your Java applet, first compile the source code, package it as a JAR file, and sign the JAR file.

要部署 Java 小程序,首先要编译源代码,将其打包为 JAR 文件,并对 JAR 文件进行签名。

See Signing JAR Filesfor how to sign your Applet.

请参阅签署 JAR 文件以了解如何签署您的 Applet。