How to Fix Java Applet Security Errors

Security Errors When Loading Java Applets

Did you get errors like the following when you tried to run a Java applet in the web browser?

Your Java version is out-of-date.Application BlockedApplication Blocked by Security SettingsYour security settings have blocked an application from running with an out-of-date or expired version of Java.Your security settings have blocked an untrusted application from running.

Solution #1

Solution #2

If you are unable to install/upgrade to the latest Java version, and you trust the unsigned Java applet to be safe, you can workaround this problem by adding an “exception site” or temporarily lowering the security level of the currently installed Java:

For Microsoft Windows:

Click on the Windows “Start” menu in the lower-left corner of the screen –>
“Control Panel” –>
“Programs” –>
“Java”.

In the “Java Control Panel” window that appears –>
Click the “Security” tab.

If there is a “Exception Site List” section in this window, click on the “Edit Site List…” button –>
Click the “Add” button –>
Type in the web server location for the Java applet like “http://www.math.ucsd.edu/” –>
Click the “OK” button –>
Click the “OK” button.

If there is no “Exception Site List” section in this window –>
Slide the “Security Level” indicator from “High” down to “Medium” –>
Click the “Apply” button –>
Click the “OK” button.

Close ALL of the open windows. You must completely QUIT the web browser or this workaround will fail.

Re-launch the web browser.

Go to the Java applet.

When the “Security Warning” window asking “Do you want to run this application?” appears, if there is a “I accept the risk and want to run this app.” option, checkmark it ON first then –>
Click the “Run” button.

The Java applet should load OK now. You may need to click on it to start it.

When you are done using the Java applet, you should change the Java “Security Level” back to “High” if you had lowered it down to “Medium” earlier.

For Mac OS X:

Click on the “Apple” menu in the upper-left corner of the screen –>
“System Preferences…” –> “Java”.

In the “Java Control Panel” window that appears –>
Click the “Security” tab.

If there is a “Exception Site List” section in this window:
click on the “Edit Site List…” button –>
Click the “Add” button –>
Type in the web server location for the Java applet like “http://www.math.ucsd.edu/” –>
Click the “OK” button –>
Click the “OK” button.

If there is no “Exception Site List” section in this window –>
Slide the “Security Level” indicator from “High” down to “Medium” –>
Click the “Apply” button –>
Click the “OK” button.

Close ALL of the open windows. You must completely QUIT the web browser or this workaround will fail.

Re-launch the web browser.

Go to the Java applet.

When the “Security Warning” window asking “Do you want to run this application?” appears, if there is a “I accept the risk and want to run this app.” option, checkmark it ON first then –> Click the “Run” button.

The Java applet should load OK now. You may need to click on it to start it.

When you are done using the Java applet, you should change the Java “Security Level” back to “High” if you had lowered it down to “Medium” earlier.

This site is a collection of how-tos, advice, suggestions, resources, etc. collected as the tech team scurries about campus wrangling the technology into submission.

The front page has the latest posts. Click the menus above for a sorted list by subject or audience. Search for anything below.

You can get an email anytime we add something here. Just add your email address in the boxI