Error elastic search wont find java.dll and java SE

When I start Elasticsearch won't work and will not find java.dll and java SE and you can see I have both installed (I reinstalled a couple of times and I reinstalled Elasticsearch as well) see command prompt below

C:\Users\tomsh\OneDrive\שולחן העבודה\Elastic\elasticsearch-8.0.0\bin>elasticsearch.bat
warning: ignoring JAVA_HOME=C:\Program Files\Java\jdk-17.0.2; using bundled JDK
Error: could not find java.dll
Error: Could not find Java SE Runtime Environment.

C:\Users\tomsh\OneDrive\שולחן העבודה\Elastic\elasticsearch-8.0.0\bin>echo %JAVA_HOME%
C:\Program Files\Java\jdk-17.0.2

I have already tried every solution available online (that I found).
Thanks In Advanced, Tom.

Welcome to our community! :smiley:

Please don't post pictures of text, logs or code. They are difficult to read, impossible to search and replicate (if it's code), and some people may not be even able to see them :slight_smile:

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