Installing Apache Tomcat 9 on a Mac
There are multiple ways to install Apache Tomcat 9 on a Mac. One of the easiest ways is to use Homebrew. Homebrew is an open source software package management system that simplifies software for installation for Mac users.
Using Homebrew to install Apache Tomcat 9 on a Mac
Apache Tomcat 9 is available as a binary package and is supported for both Intel and Apple Silicon Macs.
To check the Homebrew formulae and install the JDK, perform the following steps:
- Validate the version and supported platforms for Apache Tomcat 9 on the Homebrew page: https://formulae.brew.sh/formula/tomcat@9. Copy the
install
command from that page as well:
Figure C.18 – tomcat@9 homebrew formulae
- Run
brew install tomcat@9
on a Mac terminal:
Figure C.19 – Installing Apache Tomcat 9 using homebrew
- Check whether the installation completed successfully. Copy the command...