Java WebStart: How to fix deployJava.js to ignore Chrome 42 and assume that java is installed -


i've read information available chrome 42 , i'm looking work around issue in order allow user download jnlp file when working chrome 42.

the question is, how patch deployjava.js me?

edit: current usage:

<!doctype html public "-//w3c//dtd xhtml 1.0 transitional//en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>my applications</title> <link rel="shortcut icon" href="my_icon.ico" /> <style type="text/css"> </style> </head>  <body> <script src="deployjava.js"></script> <script>     if (deployjava.versioncheck('1.7.0+') == false) {                            userinput = confirm(             "need latest java(tm) runtime environment.\n\n"+              "if java installed, please cancel message, allow java in status bar, "+             "and refresh page.\n\n"+              "if java not installed, please select 'ok' redirected java installation page.");                     if (userinput == true) {                // set deployjava.returnpage make sure user comes              // web site after installing jre             deployjava.returnpage = location.href;              // install latest jre or redirect user page jre             deployjava.installlatestjre();          }     } </script>    <div class="back" align="center">   <div class="centerdiv">     <div class="buttonsdiv">     <script src="deployjava.js"></script>     <script>                 var url = location.protocol+'//'+location.hostname+(location.port ? ':'+location.port: '')+'/my_jnlp.jnlp';         deployjava.launchbuttonpng='button.png'         deployjava.createwebstartlaunchbutton(url, '1.7.0');     </script>     <noscript>       <a href="my_jnlp.jnlp">launch application</a>     </noscript>     </div>   </div> </div> </body> </html> 

if want let users download jnlp file , run locally assuming have java installed, why not use simple html link?

<a href="my-webstart-app.jnlp">download</a> 

the above download jnlp can run in java double clicking on file.