JAVA_HOME should be set for xcode travis env