# X pack installation fails for elastic search with "exception in thread main" error

**URL:** <https://discuss.elastic.co/t/x-pack-installation-fails-for-elastic-search-with-exception-in-thread-main-error/129298>\
**Category:** Elasticsearch\
**Created:** [April 24, 2018, 11:53am UTC](https://discuss.elastic.co/t/x-pack-installation-fails-for-elastic-search-with-exception-in-thread-main-error/129298 "2018-04-24T11:53:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![SwatiBharati](https://avatars.discourse-cdn.com/v4/letter/s/eada6e/32.png) [@SwatiBharati](https://discuss.elastic.co/u/SwatiBharati)\
**Post date:** [April 24, 2018, 11:53am UTC](https://discuss.elastic.co/t/x-pack-installation-fails-for-elastic-search-with-exception-in-thread-main-error/129298/1 "2018-04-24T11:53:31Z")

</div>

below is the error message generated when trying to install x-pack  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/3/9/39e97324fa118d8315b927a4b9747a121634599d.png)

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [April 24, 2018, 12:16pm UTC](https://discuss.elastic.co/t/x-pack-installation-fails-for-elastic-search-with-exception-in-thread-main-error/129298/2 "2018-04-24T12:16:35Z")

</div>

Please don't post images of text as they are hardly readable and not searchable.

Instead paste the text and format it with `</>` icon. Check the preview window.

Probably you have a proxy or something here?

---

<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:** [May 22, 2018, 12:16pm UTC](https://discuss.elastic.co/t/x-pack-installation-fails-for-elastic-search-with-exception-in-thread-main-error/129298/3 "2018-05-22T12:16:44Z")

</div>

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