more robust java_home for mac and jython_home for mac