New comment by Johnnynator on void-packages repository https://github.com/void-linux/void-packages/issues/13139#issuecomment-529176611 Comment: You should take a look at virtual deps` depends="virtual?java-runtime"` is probably what you are searching, this would default to `openjdk-jre`, but would also be satisfied by `oracle-jre`