Error : Java has discovered application components that could indicate a security concern.
This article applies to:
- Platform(s): All Platforms
- Java version(s): 6.0, 7.0, 6u19+
SYMPTOMS
While attempting to run Java based applet or application, a security warning dialog box appears:
Block potentially unsafe components from being run?
Java has discovered application components that could indicate a security concern. Contact the application vendor to ensure that it has not been tampered with.
Java has discovered application components that could indicate a security concern. Contact the application vendor to ensure that it has not been tampered with.
CAUSE
Signed Java Web Start applications and applets that contain signed and unsigned components could potentially be unsafe unless the mixed code was intended by the application vendor. As of the Java SE 6 Update 19 release, when a program contains both signed and unsigned components, a warning dialog is raised.
SOLUTION
In the security dialog, if the user clicks Yes, it blocks potentially unsafe components from running, and the program may terminate. If the user clicks the No button, the application or applet continues execution.
Raising a warning is the default behavior, but there are options available for users to manage this situation.
You can manage how mixed code programs are handled through the Java Control Panel.
Find the Java Control Panel
Windows 8Use search to find the Control Panel
- Press Windows logo key + W to open the Search charm to search settings
OR
Drag the Mouse pointer to the bottom-right corner of the screen, then click on the Searchicon. - In the search box enter Java Control Panel
- Click on Java icon to open the Java Control Panel.
- Click on the Start button and then click on the Control Panel option.
- In the Control Panel Search enter Java Control Panel.
- Click on the Java icon to open the Java Control Panel.
- Click on the Start button and then click on the Control Panel option.
- Double click on the Java icon to open the Java Control Panel.
Mac OS X 10.7.3 and above
- Click on Apple icon on upper left of screen.
- Go to System Preferences
- Click on the Java icon to access the Java Control Panel.
Mixed Code Protection Options in the Java Control Panel
- In the Java Control Panel, click on the Advanced tab.
- Expand the Mixed code (Sandboxed Vs. trusted) security verification option under theSecurity section.
Enable - show warning if needed
This is the default setting. When a potential security risk is encountered, a warning dialog is raised. Clicking Yes blocks potentially unsafe components from running and may terminate the program. When the user clicks No, the application or applet continues execution with protections (packages or resources that are later encountered with the same names but have different trust levels, i.e., signed vs unsigned, will not be loaded).Enable - hide warning and run with protections
This option suppresses the warning dialog. The code executes as if the user had clicked No from the warning dialog.Enable - hide warning and don't run untrusted code
This option suppresses the warning dialog and behaves as if the user had clicked Yes from the warning dialog.Disable verification
This option is not recommended. This option completely disables the software from checking for mixing trusted and untrusted code, leaving the user to run potentially unsafe code without protections.MORE TECHNICAL INFORMATION
Java applications developers: please refer to the mixed code documentation.