title: Previous installation of Tomcat complains of missing file - Beginner
body: <p>I deleted few Tomcat installations from the Linux server (CentOS). There after i installed Tomcat 8. Now when i try to start Tomcat 8 (<code>./startup.sh</code>) it gives the following error:</p>
  
  <pre><code>Cannot find /opt/apache-tomcat-7.0.56/bin/setclasspath.sh
  This file is needed to run this program
  </code></pre>
  
  <p>Seems like i have not removed the previous installation of tomcat properly. How can i get this to work. Help.</p>
  
  <p>Update</p>
  
  <pre><code>[root@localhost bin]# ./startup.sh 
  Using CATALINA_BASE:   /usr/local/tomcat7
  Using CATALINA_HOME:   /usr/local/tomcat7
  Using CATALINA_TMPDIR: /usr/local/tomcat7/temp
  Using JRE_HOME:        /usr
  Using CLASSPATH:       /usr/local/tomcat7/bin/bootstrap.jar:/usr/local/tomcat7/bin/tomcat-juli.jar
  Tomcat started.
  </code></pre>