java-deployment-toolkit

Java applet: Chrome prompts to download java 7, IE and Firefox don't

杀马特。学长 韩版系。学妹 提交于 2019-12-22 15:52:09
问题 I'm having the following problem running a Java applet in Chrome. This is the script I have in my page: <script type="text/javascript" src="http://www.java.com/js/deployJava.js"></script> <script type="text/javascript"> var attributes = { code: 'com.mycompany.MyApplet', id: 'myApplet', name: 'myApplet', width: 710, height: 540 }; var parameters = { jnlp_href: "MyApplet.jnlp" } ; var version = '1.6'; deployJava.runApplet(attributes, parameters, version); </script> <noscript>This page requires

How to pass JVM arguments to Java Web Start from HTML

与世无争的帅哥 提交于 2019-12-12 14:54:41
问题 Using the Deployment Toolkit, is it possible to launch a Java Web Start application through the function deployJava.launchWebStartApplication . I would like to pass one additional dynamic information to the application, either as argument or as system property. I saw that is is possible to define JVM argument for applets: using the parameter java-vm-args I could define system properties with -D . But i didn't find anything for javaws applications. Of course, a solution can be implemented by

Java applet: Chrome prompts to download java 7, IE and Firefox don't

二次信任 提交于 2019-12-06 11:27:14
I'm having the following problem running a Java applet in Chrome. This is the script I have in my page: <script type="text/javascript" src="http://www.java.com/js/deployJava.js"></script> <script type="text/javascript"> var attributes = { code: 'com.mycompany.MyApplet', id: 'myApplet', name: 'myApplet', width: 710, height: 540 }; var parameters = { jnlp_href: "MyApplet.jnlp" } ; var version = '1.6'; deployJava.runApplet(attributes, parameters, version); </script> <noscript>This page requires JavaScript.</noscript> And this is my .jnlp: <?xml version="1.0" encoding="UTF-8"?> <jnlp href=