# Error message: org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:82

**URL:** <https://discuss.elastic.co/t/error-message-org-elasticsearch-bootstrap-elasticsearch-main-elasticsearch-java-82/301715>\
**Category:** Elasticsearch\
**Created:** [April 6, 2022, 7:50am UTC](https://discuss.elastic.co/t/error-message-org-elasticsearch-bootstrap-elasticsearch-main-elasticsearch-java-82/301715 "2022-04-06T07:50:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Supelec](https://avatars.discourse-cdn.com/v4/letter/s/d6d6ee/32.png) [@Supelec](https://discuss.elastic.co/u/Supelec)\
**Post date:** [April 6, 2022, 7:50am UTC](https://discuss.elastic.co/t/error-message-org-elasticsearch-bootstrap-elasticsearch-main-elasticsearch-java-82/301715/1 "2022-04-06T07:50:21Z")

</div>

Hi,

I installed Elasticsearch in Mac OS Monterey 12.3.1 in using brew command.  
The version installed is for Elasticsearch: **7.10.2/**

java -version

java version "1.8.0\_321"

Java(TM) SE Runtime Environment (build 1.8.0\_321-b07)

Java HotSpot(TM) 64-Bit Server VM (build 25.321-b07, mixed mode).

When I tried to run Elasticsearch, I get this kind of error, see In below:  
warning: no-jdk distributions that do not bundle a JDK are deprecated and will be removed in a future release

warning: no-jdk distributions that do not bundle a JDK are deprecated and will be removed in a future release

Exception in thread "main" java.lang.UnsupportedOperationException: The Security Manager is deprecated and will be removed in a future release

at java.base/java.lang.System.setSecurityManager(System.java:416)

at org.Elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:82)

So it is impossible to get a result when I connect in hot://localhost:9200, no response

Please, can you help me ?

Thanks a lot by in advance.

Kind regards,

Supelec

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [April 7, 2022, 7:29am UTC](https://discuss.elastic.co/t/error-message-org-elasticsearch-bootstrap-elasticsearch-main-elasticsearch-java-82/301715/2 "2022-04-07T07:29:29Z")

</div>

Please share the **full** output/exception.

Which Java version are you using?

---

<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 5, 2022, 7:30am UTC](https://discuss.elastic.co/t/error-message-org-elasticsearch-bootstrap-elasticsearch-main-elasticsearch-java-82/301715/3 "2022-05-05T07:30:18Z")

</div>

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