Add to the package: * bin/java-config: When invoked with option -H it prints the java home directory. * data/profile.d/openjdk.sh: It is automatically sourced by /etc/profile and sets JAVA_HOME.