你可以的,加油

Could not find or load main class org.elasticsearch.bootstrap.Elasticsearch

Elasticsearch | 作者 lvxiukai | 发布于2016年10月19日 | 阅读数:6716

[lxk@localhost elasticsearch-2.4.1]$ bin/elasticsearch
Error: Could not find or load main class org.elasticsearch.bootstrap.Elasticsearch
[lxk@localhost elasticsearch-2.4.1]$ echo $JAVA_HOME
/usr/java/jdk1.8.0_111/
[lxk@localhost elasticsearch-2.4.1]$ java -version
java version "1.8.0_111"
Java(TM) SE Runtime Environment (build 1.8.0_111-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.111-b14, mixed mode)
[lxk@localhost elasticsearch-2.4.1]$ bin/elasticsearch
Error: Could not find or load main class org.elasticsearch.bootstrap.Elasticsearch
 
一直报这个错,求解
esbug.png
已邀请:

要回复问题请先登录注册