Security warning when running JViews application with applet on Microsoft Windows operating system

Article ID: 2413
Last updated: 29 May, 2018
Article ID: 2413
Last updated: 29 May, 2018
Revision: 3
Views: 644
Posted: 13 Sep, 2012
by Dean J.
Updated: 29 May, 2018
by Gargani A.

Question

Why do I get the security warning when running JViews application with applet on Microsoft Windows operating system?

Answer

JViews JAR files are signed. Additionally, it provides various external JAR files from different providers that are unsigned. Starting with Java 6 Update 19, Oracle introduced a specific security check into Java concerning the mix of signed and unsigned code. As consequence, you might see the following warning dialog on Microsoft Windows operating systems when starting an applet or Java Webstart application:

The JViews jars are safe, hence you should answer "No" in this dialog, to avoid the JViews applets from being blocked. You can disable the dialog globally by starting the Java Control panel (accessible from the Microsoft Windows Control panel) and disable all mixed code security verification, as illustrated in the following picture:

Another possibility to avoid this dialog box is to unsign all JAR files (by extracting each JAR file and recreating it with a new manifest), or to pack your entire application into one big JAR file containing all required JViews classes, and signing this JAR file with your own certificate.

This article was:   Helpful | Not helpful
Report an issue
Article ID: 2413
Last updated: 29 May, 2018
Revision: 3
Views: 644
Posted: 13 Sep, 2012 by Dean J.
Updated: 29 May, 2018 by Gargani A.

Others in this category