Elastic search has problem with the java

Error: Could not find or load main class org.elasticsearch.tools.JavaVersionChecker
Elasticsearch requires at least Java 8 but your Java version from C:/Program Files/Java/jdk1.8.0_201/bin/java does not meet this requirement

My java version:
C:\Users\username>java -version
java version "1.8.0_201"
Java(TM) SE Runtime Environment (build 1.8.0_201-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.201-b09, mixed mode)

C:\Users\username>echo %JAVA_HOME%
C:\Program Files\Java\jdk1.8.0_201

Please check your JAVA_HOME variable.

Also, see if you are running as the user who installed Java onto the machine OR at least have privilege to invoke the java.

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