“Your security settings have blocked a local appli

2019-06-19 01:42发布

问题:

I am trying to run a small applet in my Chrome window, but am getting the error message.

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.

Can anyone suggest something please?

回答1:

Medium was removed in Java 8u20:

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.

Keep in mind, this only applies to unsigned applets that request all permissions.

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.

If the applet is not on a website, you must use the applet viewer, which allows you to run applets outside of a browser