简体   繁体   English

加载Java Applet时出错

[英]Error loading Java Applet

在此处输入图片说明

在此处输入图片说明

I am trying to run an applet in my browser but keep getting an error that says "Application Blocked. Your security settings have blocked a local application from running". 我试图在浏览器中运行小应用程序,但始终收到错误消息“应用程序已阻止。您的安全设置已阻止本地应用程序运行”。 I've went into the Java Control Panel and tried to change the settings but was unable to do so. 我进入了Java控制面板,试图更改设置,但无法这样做。 I don't know if this will help but here is the html element I am using: 我不知道这是否有帮助,但这是我正在使用的html元素:

<object type="application/x-java-applet" width="200" height="400">
    <param name="code" value="applet.PieChart">
    <param name="archive" value="James_Sole_-_PRG-421_Week_4_Assignment.jar">
        Applet failed to run.  No Java plug-in was found.
</object>

You need to change your Java VM setting as below: 您需要按以下方式更改Java VM设置:

Go to the Java Control Panel (On Windows Click Start and search for Configure Java)
Click on the Security tab
Click on the Edit Site List button
Click Add in the Exception Site List window
Click in the empty field under the Location field to enter the URL

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

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