New comment by oreo639 on void-packages repository https://github.com/void-linux/void-packages/issues/38545#issuecomment-1209061714 Comment: It should be set by `/etc/profile.d/openjdk.sh` based on which version of java you have set as your default in xbps-alternatives.