In this discussion, I am only referring to Elastic Basic and OSS versions.
Elastic requires Java 7 and above to run.
But, can I run Elastic Basic with Amazon Corretto?
Can I run Elastic OSS with Amazon Corretto?
Also, I have gone through the subscription page, but, just wanted to make sure... Elastic Basic 6.8 and 7.1 provides basic Elastic Security(X-Pack) features, can Elastic OSS support those features?
As you can see on the support matrix page, all recent Elasticsearch versions require Java8 or above (depends on version). Amazon Coretto is not listed as a supported JVM, which means Elasticsearch is not tested with it.
According to docs: Amazon Corretto is certified as compatible with the Java SE standard. Amazon Corretto is certified to meet the Java SE standard and can be used as a drop-in replacement for many Java SE distributions
Lucene is quite demanding, and has revealed a number of JVM bugs over the years. I am not saying it will not work - just that it is not tested or supported, meaning you are likely in your own if something should go wrong.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.