es

[elsearch@solr1 bin]$ ./elasticsearch
错误: 找不到或无法加载主类 
org.elasticsearch.tools.JavaVersionChecker
Elasticsearch requires at least Java 8 but your Java version from /usr/java/jdk1.8.0_91/bin/java does not meet this requirement
[elsearch@solr1 bin]$ ./elasticsearch
错误: 找不到或无法加载主类 org.elasticsearch.tools.JavaVersionChecker
Elasticsearch requires at least Java 8 but your Java version from /usr/java/jdk1.8.0_121/bin/java does not meet this requirement
[elsearch@solr1 bin]$ java -version
java version "1.8.0_121"
Java(TM) SE Runtime Environment (build 1.8.0_121-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)
Elasticsearch requires at least Java 8. Specifically as of this writing, it is recommended that you use the Oracle JDK version 1.8.0_73. Java installation varies from platform to platform so we won’t go into those details here. Oracle’s recommended installation documentation can be found on Oracles website. 

你可能感兴趣的:(elasticsearch)