I am trying to tap pivotal with the following command
brew tap pivotal/tap
But getting the following error.
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/pivotal/homebrew-tap/trilogy.rb
trilogy: Calling depends_on :java is disabled! Use "depends_on "openjdk@11", "depends_on "openjdk@8" or "depends_on "openjdk" instead.
Please report this issue to the pivotal/tap tap (not Homebrew/brew or Homebrew/core), or even better, submit a PR to fix it:
/usr/local/Homebrew/Library/Taps/pivotal/homebrew-tap/trilogy.rb:9
In trilogy.rb, it does use depends_on :java
I try to set the JAVA_HOME but seems it does not work. Any idea to solve this problem?