# mac使用homebrew安装jdk和tomcat
homebrew安装jdk
前提是已经安装homebrew
//直接命令行安装
brew cask install homebrew/cask-versions/adoptopenjdk8
homebrew安装tomcat
//安装
brew install tomcat
//查看信息
catalina -h
//启动
catalina run
相关路径:/usr/local/Cellar/tomcat/xxxxx/libexec