OPENSEARCH_JAVA_HOME / JAVA_HOME needs to be set or passed in as the second parameter.