简体   繁体   中英

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. I don't know if this will help but here is the html element I am using:

<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:

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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