\Java\jre1.8.0_201\bin\java.exe was unexpected at this time

Hi,

I am trying to start the elasticsearch and getting below message. I have upgraded my java version to jre1.8.0_201 and then when I start it, I am facing this issue.

\Java\jre1.8.0_201\bin\java.exe was unexpected at this time.

Could some one let me know what could be the issue.

Regards,
Bob

At a guess, it looks like you have a space in the environment variable (?) you are using to define the location of your Java executable.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.