Symptom
You find different versions of Tomcat installed at these locations:
- /usr/local/tomcat
- /Library/Tomcat
This may lead to confusion over which executable file to use.
Solution
To avoid accidentally using the wrong version of Tomcat, you may wish to delete the old version. You must be logged in as an Admin user. Follow these steps:
1. Open Terminal (/Applications/Utilities/). See Warning, below.
2. Type: sudo rm -rf /usr/local/tomcat
3. Press Return.
4. Type your Admin password when prompted, then press Return.
5. Quit Terminal.
Warning: Misuse of the "rm -rf" command can result in data loss. Be sure to type the line exactly. You can even copy and paste the text into Terminal. Web browser settings can affect the appearance of text. You can paste the text into a text editor to ensure that you see the correct spacing.