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

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

Please share the full output/exception.

Which Java version are you using?

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