shinraken85
shinraken85

Reputation: 61

Setting up elasticsearch issue

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

Answers (1)

Nathan Smith
Nathan Smith

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

Related Questions