Reputation: 61
I'm trying to install elasticsearch and I am getting this message.
I type in terminal linux:
sh elasticsearch -f@
and get:
elasticsearch: line 141: /bin/java: is a directory
elasticsearch: line 141: exec: /bin/java: cannot execute: Success
Upvotes: 0
Views: 102
Reputation: 8347
To run ElasticSearch from linux navigate to the upper ElasticSearch directory. So that the bin directory is visible.
Then run the following command -
bin/elasticsearch (background)
or
bin/elasticsearch -f (foreground)
Upvotes: 1