2

Java is listed in Tomcat's dependency list. But when I install tomcat there is no java. Why?

$brew install tomcat
$brew list | grep java | wc -l
0
  • 3
    Probably Java (Oracle/Apple) is already installed: check brew config | grep Java! – klanomath Feb 21 '17 at 14:18
  • @klanomath you are right. I'll accept the answer if you transform your comment. – Jofsey Feb 21 '17 at 14:59
3

If Java was already installed previously (either the Oracle or the outdated Apple Java installer) Tomcat's requirements are met and brew won't install another Java.

The small green checkmark (or red cross if Java has to be installed) will indicate this:

enter image description here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .