JDK-6224426 : To pass vendor options to JVM thru Java Web Start in 5.0
  • Type: Enhancement
  • Component: deploy
  • Sub-Component: webstart
  • Affected Version: 5.0
  • Priority: P3
  • Status: Closed
  • Resolution: Won't Fix
  • OS: generic
  • CPU: generic
  • Submitted: 2005-02-02
  • Updated: 2010-08-03
  • Resolved: 2005-02-02
Related Reports
Relates :  
Description
A cusotmer, who ports JVM,  has found out that their own options are not passed to
JVM thru JWS.

The followings are their report.

---- Customer Report and Request ----
We know use can specify JVM options in JWS(5.0).
 What we did are 
 1) Open java web start application manager
 2) Select [file]-[setting]-[java](tab)
    and set JVM which we modified.
 3) Set our own options for our JVM in JNLP file(java-vm-args).
 4) Launch JWS application, but the behavior with our option 
    does not seem to work as we expected."

REQUEST :
  To pass options which users defined to JVM thru JWS

---- Customer Report and Request end ----
###@###.### 2005-2-02 03:58:35 GMT

Comments
EVALUATION This is not a bug, and not an RFE that could be implemented. Javaws can only support vm args thru java-vm-args that are known to be "safe" for web seployed applications. The list of safe args for 5.0 is listed in: http://java.sun.com/j2se/1.5.0/docs/guide/javaws/developersguide/syntax.html#resources we cannot modify to allow unknown args to be passed on, as javaws has no way of knowing if this is secure in an arbitrary vm. Java Web Start will currently allow setting VM args locally, by using the JAVAWS_VM_ARGS env variable. A previous request has been made to allow setting arbitrary vm args for a particular jre in the Java Control Panel as is currently done in Java Plug-in. ###@###.### 2005-2-02 16:10:00 GMT
02-02-2005