My java version is :
java version "1.8.0_151"
Java(TM) SE Runtime Environment (build 1.8.0_151-b12)
Java HotSpot(TM) Client VM (build 25.151-b12, mixed mode)
and JAVA_HOME is set correctly
and when i am running the elastic search i am getting this below error
\Java\jdk1.8.0_151\bin\java.exe" -cp "C:\Users\venkatan\MySoftwares\elasticsearch-6.2.0\lib*" "org.elasticsearch.tools.launchers.JvmOptionsParser" "C:\Users\venkatan\MySoftwares\elasticsearch-6.2.0\config\jvm.options" || echo jvm_options_parser_failed"`) was unexpected at this time.
Can anyone please help. i am stuck with this.
Quick reply would be very helpful.
Thanks for your help.
I checked my install of java jdk 1.8.0_161 and noticed that it was stored in program Files x86 folder although it was the 64 bit version - I don’t understand why since I only ran the java exe install.
But anyway I unistalled it and installed the 1.8.0_162 and now elasticsearch works perfectly.
This is a bug, the problem is the () ruin the statement that tries to launch the JVM parser. See https://github.com/elastic/elasticsearch/pull/28753 for the explanation and the fix. This will be fixed in the next release. For now, you can workaround this by not locating Java nor Elasticsearch under a directory with () in the name.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.