I deleted few Tomcat installations from the Linux server (CentOS). There after i installed Tomcat 8. Now when i try to start Tomcat 8 (./startup.sh
) it gives the following error:
Cannot find /opt/apache-tomcat-7.0.56/bin/setclasspath.sh
This file is needed to run this program
Seems like i have not removed the previous installation of tomcat properly. How can i get this to work. Help.
Update
[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.