user1911 user1911 - 9 months ago 159
Java Question

Disable Java security and warning messages

I update Java 6 to Java 8u25 and now appear two messages:

First message: Do you want to run this application? Name: ----.jar

Second message: Warning - Unavailable Version of Java Requested:This application would like to use a version of Java (1.6) that is not intalled on your system.

These messages appear when a client run the java application (jnlp) and I would like to disable or hide their. The clients download the java application from a server.

I don't know if there are commands to disable their or with windows registry.

I know that there is a file called to add or remove parameters but I do not think it works in my case.

Answer Source

You can't.

Read Oracle's property description and you'll see that for Java >= 1.7 low security level has been removed which means that even signed applications cannot escape security prompts:

Since java 7, warnings can only be disabled/ignored after first instance by the user or by a ruleset set by the system administrator:

(Starting with Java 8 update 20 medium security level has been removed too)

Of course you can force your clients to stick to 1.6 but that is unsafe and unprofessional, and you'll have to face potential warnings about Java version being obsolete anyway.