Elasticsearch&JDK版本要求

ES          JDK
0.90        1.6
----------------
1.3         1.7
...         1.7
2.4         1.7
----------------
5.0         1.8     
...         1.8

参考地址
https://www.elastic.co/guide/en/elasticsearch/reference/index.html

Elasticsearch Reference [6.x] » Set up Elasticsearch

Java (JVM) Versionedit
Elasticsearch is built using Java, and requires at least Java 8 in order to run. Only Oracle’s Java and the OpenJDK are supported. The same JVM version should be used on all Elasticsearch nodes and clients.

你可能感兴趣的:(elasticsearch)