Hi All, Unable to start windows Elasticsearch service. Event viewer shows below. Using Version 7.16.1
Service cannot be started. Elastic.ProcessHosts.Process.StartupException: Could not evaluate jvm.options file. result: 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.JvmOption.flagsFinal(JvmOption.java:119)
at org.Elasticsearch.tools.launchers.JvmOption.findFinalOptions(JvmOption.java:81)
at org.Elasticsearch.tools.launchers.JvmErgonomics.choose(JvmErgonomics.java:38)
at org.Elasticsearch.tools.launchers.JvmOptionsParser.jvmOptions(JvmOptionsParser.java:135)
at org.Elasticsearch.tools.launchers.JvmOptionsParser.main(JvmOptionsParser.java:86)
at Elastic.ProcessHosts.Elasticsearch.Process.ElasticsearchProcess.CreateObservableProcessArguments(IEnumerable`1 args)
at Elastic.ProcessHosts.Elasticsearch.Process.ElasticsearchProcess..ctor(IObservableProcess process, IConsoleOutH...