modified java_home for mac.