title: Setting the security policy file in Eclipse
body: <p>From what I understand from <a href="http://java.sun.com/developer/onlineTraining/Programming/JDCBook/signed2.html" rel="nofollow">searching around</a> on the internet, if I want to run a java program with a security policy, I would have to type in something like </p>
  
  <p><code>java -Djava.security.policy=java.policy MainClass</code></p>
  
  <p>Where <code>java.policy</code> is the file describing the security policy.
  How do I do something like that in Eclipse? I've tried adding <code>-Djava.security.policy=java.policy</code> under the <code>Arguments</code> of run configurations, but it doesn't seem like it has taken any effect.</p>