There's a merged pull request on the void-packages repository fix $JAVA_HOME conflict in /etc/profile.d, add openjdk-profile trigger https://github.com/void-linux/void-packages/pull/36250 Description: #### Testing the changes - I tested the changes in this PR: **YES** [ci skip]