Reputation: 20571
After some JDK 7 updates my applet won't work (security exceptions). How I can specify JRE version range to use by client in JNLP file? I want cause him to use only JRE 6, not 7.
Upvotes: 0
Views: 88
Reputation: 718678
What you are trying to do is a Really Bad Idea.
Java 6 has been EOL'ed and that means no more free security updates. So what you are doing is encouraging people to downgrade the version of Java used by their web browsers to an out of date version of Java that is likely to have unpatched security bugs that could soon be being actively exploited to do all sorts of nasty things to the user.
The correct approach is to fix your applet so that it works with the latest JDK update (as well as older ones).
Upvotes: 1
Reputation: 121998
The only way out is ,detect the version of java using in browser
and giving him a proper message that ,use java 6 jre
.
You might heard about deployJava.js
and check the version like
if(deployJava.versionCheck("1.7")){
//message him
}
Upvotes: 0