# Error on starting ES 5.4.1 on Win10 or Win2008 R2

**URL:** <https://discuss.elastic.co/t/error-on-starting-es-5-4-1-on-win10-or-win2008-r2/88286>\
**Category:** Elasticsearch\
**Created:** [June 5, 2017, 2:33pm UTC](https://discuss.elastic.co/t/error-on-starting-es-5-4-1-on-win10-or-win2008-r2/88286 "2017-06-05T14:33:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gog](https://avatars.discourse-cdn.com/v4/letter/g/7ab992/32.png) [@gog](https://discuss.elastic.co/u/gog)\
**Post date:** [June 5, 2017, 2:33pm UTC](https://discuss.elastic.co/t/error-on-starting-es-5-4-1-on-win10-or-win2008-r2/88286/1 "2017-06-05T14:33:41Z")

</div>

Hi there

Getting this error when starting ES 5.4.1 via CMD:  
C:\elasticsearch-5\_4\_1\bin\>elasticsearch.bat  
Error: Could not find or load main class org.elasticsearch.bootstrap.Elasticsearch

Setup:  
Download and Setup JAVA (jdk-8u131-windows-x64.exe)  
Set JAVA\_HOME to JDK install DIR (C:\java\jdk1\_8\_0\_131)  
Downloas latest ES (elasticsearch-5.4.1.zip)  
Unzip to C:\elasticsearch-5\_4\_1  
Try to start \> C:\elasticsearch-5\_4\_1\bin\>elasticsearch.bat

Thanks for your help!

---

<div class="post-metadata">

**Author:** ![gog](https://avatars.discourse-cdn.com/v4/letter/g/7ab992/32.png) [@gog](https://discuss.elastic.co/u/gog)\
**Post date:** [June 5, 2017, 5:57pm UTC](https://discuss.elastic.co/t/error-on-starting-es-5-4-1-on-win10-or-win2008-r2/88286/2 "2017-06-05T17:57:18Z")

</div>

Sorry, my download of ES 5.4.1 was corrupted...

Downloaded it again and works 🙂

---

<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 3, 2017, 5:57pm UTC](https://discuss.elastic.co/t/error-on-starting-es-5-4-1-on-win10-or-win2008-r2/88286/3 "2017-07-03T17:57:27Z")

</div>

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