title: Setting "JAVA_OPTS" globally on Windows
body: <p>I need to set -Dfile.encoding=UTF8 globally on Windows machine.<br>
  I tried to set JAVA_OPTS environment variable in <code>My Computer -&gt; Properties -&gt;Environment Variables</code> and also via <code>Control Panel-&gt;Java-&gt;Java Runtime Environment Settings</code> but these had no effect.<br>
  How can I set JAVA_OPTS (and specially <code>file.encoding</code> property) globally in windows?</p>
  
  <p>Thanks</p>