Created
November 15, 2021 14:38
-
-
Save jethroo/e019f174c1a72b88493d8d277f44a82a to your computer and use it in GitHub Desktop.
elasticsearch 7 mac issues
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ elasticsearch --v | |
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.RuntimeException: starting java failed with [1] | |
output: | |
error: | |
Unrecognized VM option 'UseConcMarkSweepGC' | |
Error: Could not create the Java Virtual Machine. | |
Error: A fatal exception has occurred. Program will exit. | |
at org.elasticsearch.tools.launchers.JvmErgonomics.flagsFinal(JvmErgonomics.java:126) | |
at org.elasticsearch.tools.launchers.JvmErgonomics.finalJvmOptions(JvmErgonomics.java:88) | |
at org.elasticsearch.tools.launchers.JvmErgonomics.choose(JvmErgonomics.java:59) | |
at org.elasticsearch.tools.launchers.JvmOptionsParser.jvmOptions(JvmOptionsParser.java:137) | |
at org.elasticsearch.tools.launchers.JvmOptionsParser.main(JvmOptionsParser.java:95) | |
Solved with: | |
https://stackoverflow.com/a/64190917/1657377 | |
https://stackoverflow.com/a/57993824/1657377 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment