title: How create environment variable for tomcat?
body: <p>I'm trying create environment variable in tomcat 8 for my project, I need use this variable for choice properties logger. I read about <code>setenv.sh</code> and i create this file, but when i run my project  - it does not run. How me create environment variable for  check my project?
  I read about <code>setenv</code> in this <a href="http://www.unidata.ucar.edu/software/thredds/v4.3/tds/tds4.2/tutorial/GettingStarted.html" rel="noreferrer">site</a>. I use ubuntu 14.04.</p>
  
  <p><strong>setenv.sh</strong></p>
  
  <pre><code>JAVA_HOME="/usr/lib/jvm/java-8-oracle"
  export JAVA_HOME
  
  JAVA_OPTS="-Xmx4096m -Xms512m -server"
  export JAVA_OPTS
  
  CATALINA_HOME="/opt/tomcat"
  export CATALINA_HOME
  </code></pre>