Alex Rivera | Logout

bash error : Cannot find /Library/...../setclasspath.sh, but it's there

Asked 2012-06-14T03:42:44.860
22

I'm trying to set up tomcat server and I am using the instructions from a website that has instructed me to

      # Execute the Tomcat startup script
      ./startup.sh 

but when i enter the ./startup.sh command i get an error

      Cannot find /Library/Tomcat/Home/bin/setclasspath.sh

but the setclasspath.sh is there (see screenshot below):

enter image description here

What am i doing wrong????


now i cannot cd to Home (see screenshot below):

enter image description here

here is the path info: enter image description here

Edit
Report

1 Answer

65

I had same problem on my mountain lion machine and I use this command :

$ unset CATALINA_HOME

and after that it solved my problem.This command will unset the environmental variable CATALINA_HOME.

answered 2012-09-19T16:54:27.683

Your Answer