Environment may be an option. But, the package man...
# openvox
c
Environment may be an option. But, the package manager still ends up installing the dependency. Which means you still end up with a (hopefully) unused Java installation.