New to Elasticsearch, want to try it out and configure it on my workstation Windows 10.
Here is the value of JAVA_HOME :
C:\Program Files (x86)\Java\jre1.8.0_191
... and here is java -version
java version "1.8.0_191"
Java(TM) SE Runtime Environment (build 1.8.0_191-b12)
Java HotSpot(TM) Client VM (build 25.191-b12, mixed mode)
When I run the elasticsearch.bat
I get the following error:
\Java\jre1.8.0_191\bin\java.exe" -cp "!ES_CLASSPATH!" "org.elasticsearch.tools.launchers.TempDirectory""` was unexpected at this time.
could look like you have run into something similar to:
I think the trigger of the problem is the parenthesis in JAVA_HOME. A workaround might be to install a 64 bit version of java instead to avoid parenthesis in the path.
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.