CSPACE-6273: Restore the formerly deleted java_home.rb custom function. env.pp manifest now once again sets JAVA_HOME among other environment variables, using the value returned by that function.