OPENSEARCH_JAVA_HOME env is not working

Hi @chaitra ,

AFAIK, the Opensearch seems to support OPENSEARCH_JAVA_OPTS only, despite documentation mentioned OPENSEARCH_JAVA_HOME. The approach you have tried with JAVA_HOME seems to be the only option (at the moment) to run Opensearch using different JDK. Could you please open an issue here [1] to get it fixed? Thank you!

[1] GitHub - opensearch-project/OpenSearch: 🔎 Open source distributed and RESTful search engine.