Cask as a dependency for Java application #4792
Replies: 3 comments 3 replies
-
If this is for Otherwise, I what exactly does not work about those suggestions? Does it not trigger an install? |
Beta Was this translation helpful? Give feedback.
-
Not for core (at least now), having a "personal tap".
Gives
|
Beta Was this translation helpful? Give feedback.
-
Thanks for the hints! As the main target audience for brew IMHO is command line users, I can omit the FX requirement and make it depend on "normal" java, and thus avoid casks. Will also investigate custom requirements. |
Beta Was this translation helpful? Give feedback.
-
Output of
brew config
Output of
brew doctor
Description of issue
Application depends on JavaFX (thus zulufx cask)
How does one declare a dependency on the cask (brew install --cask zulufx)?
https://stackoverflow.com/questions/35461948/syntax-for-a-homebrew-formula-depending-on-a-cask does not help, nor the documentation section for dependencies.
Once the dependency is set, how can I make the app always run with the dependent JDK? Specifically, this wrapper generator:
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions