Error: Could not find or load main class org.elasticsearch.bootstrap.Elasticsearch
System: Redhat
Java: 1.8
ES: 2.3.2
JAVA_HOME & PATH set correctly
Command: /bin/elasticsearch -d
Error: Could not find or load main class org.elasticsearch.bootstrap.Elasticsearch
System: Redhat
Java: 1.8
ES: 2.3.2
JAVA_HOME & PATH set correctly
Command: /bin/elasticsearch -d
Hi,
What methdo have you used to install Elasticsearch?
Hi ,
I did some operation:
wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-5.2.2.tar.gz
tar -zxvf elasticsearch-5.2.2.tar.gz
cd ./es/bin/
./elasticsearch
then i got the message
Error: Could not find or load main class org.elasticsearch.bootstrap.Elasticsearch
My java version :
java -version
openjdk version "1.8.0_131"
OpenJDK Runtime Environment (build 1.8.0_131-b11)
OpenJDK 64-Bit Server VM (build 25.131-b11, mixed mode)
© 2020. All Rights Reserved - Elasticsearch
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.