title: javaws does not pass -J VM arguments when using remote jnlp file
body: <p>when I launch my application with local JNLP file</p>
  
  <pre><code>javaws -J-Xmx64m myApplication.jnlp
  </code></pre>
  
  <p>the application will run with <code>-Xmx64m</code>.</p>
  
  <p>When I launch my application with remote jnlp file</p>
  
  <pre><code>javaws -J-Xmx64m "http://myserver/myApplication.jnlp"
  </code></pre>
  
  <p>then the jp2launcher seems to download the JNLP file and spawn new jp2launcher that runs my application. However the <code>-J</code> parameters are not passed to the new spawned jp2launcher.</p>
  
  <p>I can verify this with JVisualVM.</p>
  
  <p>Is this expected behavior? How can I pass <code>-Xmx</code> and other options to my application without specifying them inside the JNLP file (e.g. max-heap-size)?</p>
  
  <p>I am using Java 8 on Windows 7+.</p>
  
  <p>Thank you, Jan</p>