# Problems installing Elastic Search

**URL:** <https://discuss.elastic.co/t/problems-installing-elastic-search/138128>\
**Category:** Elasticsearch\
**Created:** [July 2, 2018, 6:59am UTC](https://discuss.elastic.co/t/problems-installing-elastic-search/138128 "2018-07-02T06:59:36Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sonny\_Berggreen\_Mads](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sonny_berggreen_mads/32/32854_2.png) [@Sonny\_Berggreen\_Mads](https://discuss.elastic.co/u/Sonny_Berggreen_Mads)\
**Post date:** [July 2, 2018, 6:59am UTC](https://discuss.elastic.co/t/problems-installing-elastic-search/138128/1 "2018-07-02T06:59:37Z")

</div>

Dear all,

I have trouble installing Elastic Search. I have unfolded the folder "elasticsearch-6.3.0" which contains the elasticsearch.bat file (in the Bin folder).

However, I cannot run (or find) the file in the Command Promt - any idea of what I'm doing wrong?

I'm new to this, so please bear with me.

Best

---

<div class="post-metadata">

**Author:** ![Sonny\_Berggreen\_Mads](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sonny_berggreen_mads/32/32854_2.png) [@Sonny\_Berggreen\_Mads](https://discuss.elastic.co/u/Sonny_Berggreen_Mads)\
**Post date:** [July 2, 2018, 7:24am UTC](https://discuss.elastic.co/t/problems-installing-elastic-search/138128/2 "2018-07-02T07:24:31Z")

</div>

I get this message:

C:\Users\sbm\Desktop\New\elasticsearch-6.3.0\bin\>elasticsearch.bat  
\Common was unexpected at this time.

---

<div class="post-metadata">

**Author:** ![forloop](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/forloop/32/9021_2.png) [@forloop](https://discuss.elastic.co/u/forloop)\
**Post date:** [July 2, 2018, 11:56am UTC](https://discuss.elastic.co/t/problems-installing-elastic-search/138128/3 "2018-07-02T11:56:53Z")

</div>

What is the value of `JAVA_HOME`? With PowerShell

```auto
$env:JAVA_HOME

```

---

<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:** [July 30, 2018, 11:56am UTC](https://discuss.elastic.co/t/problems-installing-elastic-search/138128/4 "2018-07-30T11:56:56Z")

</div>

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