# How do I run elasticsearch from source?

**URL:** <https://discuss.elastic.co/t/how-do-i-run-elasticsearch-from-source/117151>\
**Category:** Elasticsearch\
**Created:** [January 26, 2018, 5:57am UTC](https://discuss.elastic.co/t/how-do-i-run-elasticsearch-from-source/117151 "2018-01-26T05:57:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tamimaddari82](https://avatars.discourse-cdn.com/v4/letter/t/d26b3c/32.png) [@tamimaddari82](https://discuss.elastic.co/u/tamimaddari82)\
**Post date:** [January 26, 2018, 5:57am UTC](https://discuss.elastic.co/t/how-do-i-run-elasticsearch-from-source/117151/1 "2018-01-26T05:57:20Z")

</div>

I am having this issue [https://github.com/elastic/elasticsearch/issues/28384](https://github.com/elastic/elasticsearch/issues/28384)  
with elasticsearch.

To troubleshoot the issue, I have downloaded the source of 2.4.6 and trying to run it from the source.

Can someone tell me the commands to run elasticsearch from maven source? I plan to use idea to debug this issue.

Thanks!!!

---

<div class="post-metadata">

**Author:** ![s1monw](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/s1monw/32/3637_2.png) [@s1monw](https://discuss.elastic.co/u/s1monw)\
**Post date:** [February 2, 2018, 10:00am UTC](https://discuss.elastic.co/t/how-do-i-run-elasticsearch-from-source/117151/2 "2018-02-02T10:00:49Z")

</div>

oh 2.4... long time ago. did you try to run `./run.sh`? [here](https://github.com/elastic/elasticsearch/blob/2.4/run.sh) is the script

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 2, 2018, 10:01am UTC](https://discuss.elastic.co/t/how-do-i-run-elasticsearch-from-source/117151/3 "2018-03-02T10:01:05Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
