# mac使用homebrew安装jdk和tomcat

homebrew安装jdk

前提是已经安装homebrew

//直接命令行安装
brew cask install homebrew/cask-versions/adoptopenjdk8

gOI0Hh

homebrew安装tomcat

//安装
brew install tomcat

//查看信息
catalina -h

//启动
catalina run

相关路径:/usr/local/Cellar/tomcat/xxxxx/libexec

ghwYeW

posted @ 2020-09-24 23:04  Eyeseas  阅读(782)  评论(0编辑  收藏  举报