title: Cloudfoundry setting JAVA_OPTS environment variable
body: <p>I am deploying some application in cloudfoundry. I have some library jar and configuration files also inside the application. I want to setup those jar and config file as environment variable, so I did </p>
  
  <pre><code>cf set-env APP_NAME JAVA_OPTS "-Dconf=/location/library.jar"
  </code></pre>
  
  <p>After these changes, I have to restage the application and I am always getting <strong>java.util.zip.ZipException</strong>. </p>