title: get JAVA_OPTS at runtime
body: <p>My app is deployed on Tomcat and I've configured the <code>JAVA_OPTS</code> environment variable in <code>/etc/default/tomcat7</code>.</p>
  
  <p>There seem to be a million different places where these variables can be provided to Tomcat, so I want to check that the values I'm providing are what's actually being used. Is there something I can inspect at runtime to determine the value of this variable. I checked <code>System.getProperties()</code>, but it doesn't seem to be there.</p>