Hi all,
I can not get run Elasticsearch 6 on my MAC
➜ ~ brew services list
Name Status User File
dbus none
elasticsearch@6 error 256 user ~/Library/LaunchAgents/homebrew.mxcl.elasticsearch@6.plist
and
➜ ~ curl localhost:9200
curl: (7) Failed to connect to localhost port 9200 after 5 ms: Connection refused
logs:
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:83)
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)
/usr/local/Cellar/Elasticsearch@6/6.8.23/libexec/bin/Elasticsearch-env: line 79: cd: /usr/local/etc/Elasticsearch: No such file or directory
Exception in thread "main" java.nio.file.NoSuchFileException: /usr/local/var/jvm.options
at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106)
at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
at java.base/sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:218)
at java.base/java.nio.file.Files.newByteChannel(Files.java:380)
at java.base/java.nio.file.Files.newByteChannel(Files.java:432)
at java.base/java.nio.file.spi.FileSystemProvider.newInputStream(FileSystemProvider.java:422)
at java.base/java.nio.file.Files.newInputStream(Files.java:160)
at org.Elasticsearch.tools.launchers.JvmOptionsParser.main(JvmOptionsParser.java:60)
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:83)
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:83)
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:83)
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:83)
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:83)
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:83)
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:83)
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:83)
Any idea how to fix it?
Blockquote