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 using servlet that dinamically construct the jnlp file, but I definitely want to avoid this way.

来源:https://stackoverflow.com/questions/22958842/how-to-pass-jvm-arguments-to-java-web-start-from-html

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!