79566035

Date: 2025-04-10 07:57:21
Score: 1
Natty:
Report link

Homebrew always seems to install them at /opt/homebrew/opt

You can verify this if you open finder, press Command+Shift+G and type in /opt/homebrew/opt

I'd typically place this location in my .zshrc file like this:

export JAVA_HOME="opt/homebrew/opt/openjdk<@version-here>"
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: R Walet