Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>The only properties that you can set in the JNLP are those <a href="http://docs.oracle.com/javase/6/docs/technotes/guides/javaws/developersguide/syntax.html#resources" rel="nofollow">considered secure</a> which do not include <code>java.net.preferIPv4Stack</code>.</p> <p>The alternative options you have are (not tested):</p> <ul> <li>pass the parameter directly to javaws like you did: <code>javaws -J-Djava.net.preferIPv4Stack=true myapp.jnlp</code></li> <li>Java Control Panel > Java > View > Runtime Parameters, but that is a global setting for all webstart applications and applets using the version of the JRE for which you changed the setting</li> <li>use an environment variable: <code>JAVAWS_VM_ARGS = -Djava.net.preferIPv4Stack=true</code></li> <li>flag the setting as secure by adding a line to the <a href="http://docs.oracle.com/javase/6/docs/technotes/guides/deployment/deployment-guide/properties.html" rel="nofollow">deployment.properties file</a>, located in the Deployment Home(*) : <code>deployment.javaws.secure.properties=java.net.preferIPv4Stack</code> - note: not sure if this is available Java > 1.5.</li> </ul> <p>The first 3 options are detailed in <a href="http://docs.oracle.com/javase/7/docs/webnotes/tsg/TSG-Desktop/html/plugin.html" rel="nofollow">this document</a>.</p> <p><sub> (*) Deployment Home:<br> Windows XP: <code>%HOME%\Application Data\Sun\Java\Deployment</code><br> Windows 7/Vista: <code>%APPDATA%\..\LocalLow\Sun\Java\Deployment</code><br> Linux/Solaris: <code>%HOME%/.java/deployment</code> </sub></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload