Skip to content

What happens if depends_on_java does not match? #3145

Discussion options

You must be logged in to vote

depends_on_java only works for casks. For formulae you can do depends_on "openjdk@8" which is the version you need. You can also configure your formula so that it uses the openjdk@8 dependency and not any other JDK.

Since you provide a jar this should work fine for a formula. It will need to be hosted in an external tap, however, since we accept only open source software in homebrew-core.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@devtonhere
Comment options

Comment options

You must be logged in to vote
2 replies
@devtonhere
Comment options

@SMillerDev
Comment options

Answer selected by devtonhere
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants