You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
java directory not found under /Cellar/opencv/share on MacOS #23
The docs for this are unclear and should probably be updated for brew but here's what i needed to do to see it:
-Ensure xcode command line tools are installed: xcode-select --install
-Install ant: brew install ant
-Ensure opencv is NOT installed : brew uninstall opencv
-Try brew edit opencv
* If this does not work, you must run brew tap --force homebrew/core BEFORE editing or installing
-Try brew edit again
-Run brew install --build-from-source opencv
You should now see the java directory. The main thing to keep in mind is that opencv must be uninstalled, and if you can't edit the formula, run the brew tap command.
Activity
aidanogr commentedon Oct 2, 2025
The docs for this are unclear and should probably be updated for brew but here's what i needed to do to see it:
-Ensure xcode command line tools are installed:
xcode-select --install-Install ant:
brew install ant-Ensure opencv is NOT installed :
brew uninstall opencv-Try
brew edit opencv* If this does not work, you must run
brew tap --force homebrew/coreBEFORE editing or installing-Try brew edit again
-Run
brew install --build-from-source opencvYou should now see the java directory. The main thing to keep in mind is that opencv must be uninstalled, and if you can't edit the formula, run the brew tap command.