point JAVA_HOME to the path of JRE 7 homepath rather than OS X system java since it's no longer supported by elasticsearch