test1839
test1839

Reputation: 39

How to suppress the Java dialog "Unavailable Version of Java Requested"

We have a set of third-party Java applets that were deployed in production and explicitly require Java 1.6* via the tag properties on the html page. Now after upgrading client computers to Java 1.7 the following dialog appears:

Warning - Unavailable Version of Java Requested
[Run with latest version] [Cancel]

Is there a way to suppress this dialog?

I looked at different properties available in Java policies but nothing provides the desired effect:

http://docs.oracle.com/javase/7/docs/technotes/guides/deployment/deployment-guide/properties.html

Also I monitored where the preference value is stored after clicking "Run with latest version". The value is only stored in the local Java application cache as a .lap file. So there is no way to force this setting before the applet is downloaded in the cache.

This seems to be related to Secure Static Versioning. In the old Java versions there was a key that is not available in 1.6 and later ones.

HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Deployment\Policy] "EnableSecureStaticVersioning"=0

So what is the way to disable this feature in latest Java versions?

Upvotes: 0

Views: 7781

Answers (1)

test1839
test1839

Reputation: 39

The response is found in Java 7.40 via Deployment Rule Sets.

Upvotes: 1

Related Questions