[error] Elasticsearch can't find java

Hello,

I'm having trouble running elasticsearch on Windows 10, I get the error
Could not find any executable java binary. Please install java in your PATH or set JAVA_HOME

My JAVA_HOME is set to C:\Program Files\Java\jdk1.8.0_111
and PATH contains the value
%JAVA_HOME%\bin.

Any advice?

Thanks,
Vicky