I'm trying to run a Java Applet (html file), but the browser keeps saying:
"Your security settings have blocked a local application from running"
I have tried using Chrome and Firefox but i get the same error. I have upgraded to the latest version of Java, but Chrome still says in
chrome://plugins/ "Download Critical Security Update"
even though i can run Java applets (not locally)
Im using Ubuntu 13.04 64 bit
For XP: Start > Control Panel > Java > Security > (Set to Medium) http://www.java.com/en/download/help/java_update.xml
This problem happens when older versions of java still on your system disrupt any new versions installed. To stop this problem you need to first remove all java software using - Control Panel + Remove Programs + then uninstall java. (At this stage, I recommend cleaning out your registry using CCleaner using their Registry option or similar program to ensure a clean sweep then reboot) After rebooting reinstall the most recent version of java and all will be well.
http://www.filehippo.com/download_ccleaner -LINK TO CCLEANER
just add your .jar file in applet tag as an attribute as shown below:
<applet
code="file.class"
archive="file.jar"
height=550
width=1100>
</applet>
In my case, this has been resolved by going to control panel > java > security > then add url in the exception site list. Then apply. Test again the site and it should now allow you to run the local java.
Go to java control tab>java control pannel>click security tab>down the security level to medium. Then applet progrramme after 2to 3 security promt it will run.
I think the upgrade of Java will not help. You need to uninstall the old version and then install the latest java version to help you. Make sure that you restart the computer once you are done with the installation.
Hope it helps!
Source: Stackoverflow.com