title: installing tomcat and setting environment variables
body: <p>I am new to tomcat server. According to the guide offered on the internet found <a href="http://tomcat.apache.org/tomcat-7.0-doc/appdev/installation.html" rel="nofollow noreferrer">here</a>,</p>
  
  <blockquote>
    <p>I have to set an environment variable named: <strong>CATALINA_HOME</strong></p>
  </blockquote>
  
  <p>1) I tried to set that variable in RUNNING.txt file which is already created inside tomcat directory 
     by default. My question is, <strong>how to set that variable correctly to have tomcat server working?</strong></p>
  
  <p>2) As mentioned <a href="http://www.apekshit.com/t/56/Writing-JSP-in-Eclipse" rel="nofollow noreferrer">here</a>, I should be able to create a new dynamic web page from <a href="/questions/tagged/eclipse" class="post-tag" title="show questions tagged &#39;eclipse&#39;" rel="tag">eclipse</a>, but when I make a new eclipse project, I found that the dynamic web project is not listed as mentioned in the link. Please let me know how to create a new dynamic web project from eclipse.</p>
  
  <p>*Note: 1) I have tomcat server installed.
            2) eclipse could not specify my apache server. see the image below. *
  <img src="https://i.stack.imgur.com/ftjf2.png" alt="enter image description here"></p>