title: -Djava.security.policy for force use of our policy file
body: <p>I want my applet to use policy file created under <code>user.home/.java.policy</code>. I'm confused what is the proper argument to use that policy file?</p>
  
  <pre><code>-Djava.security.policy=file:${user.home}/.java.policy
  </code></pre>
  
  <p>Or</p>
  
  <pre><code>-Djava.security.policy=file:///${user.home}/.java.policy
  </code></pre>
  
  <p>Or</p>
  
  <pre><code>-Djava.security.policy={user.home}/.java.policy
  </code></pre>
  
  <p>Or</p>
  
  <pre><code>-Djava.security.policy=({user.home}/.java.policy)
  </code></pre>