This similar question and this one provides info if you want to list all package dependencies and manually go through each one. On my system some packages have over 30 dependencies. I'm going through each installed package trying to find which one if any have a java dependency.
I'm trying to look in a fashion that will look at all installed packages including those installed with cask. Is there a way to see if any installed brew package has a specific dependency?
brew uses --recursive java
. Typebrew help uses
on your terminal to find what other options you can put in the command line if it does not produce any output. – axiacbrew uses --recursive java | wc -l
– jtlindsey