fixed java_home being sourced all the time