Add JAVA_HOME setting for mac