Can't install version 7.12 on Windows 10 Pro, getting this error:
Error: Could not find or load main class org.elasticsearch.tools.java_version_checker.JavaVersionChecker
Caused by: java.lang.ClassNotFoundException: org.elasticsearch.tools.java_version_checker.JavaVersionChecker
I didn't install separate Java as the zip package has it inside. According to the documentation there is no need to do anything special. Just download the zip, extract it and run the bat file.
But running the elasticsearch.bat file from the "C:\elasticsearch-7.12.0\bin" writes the above errors.
Also, I DO NOT have JAVA_HOME or ES_JAVA_HOME variables (as in the documentation was not mentioned to set them up).
P.S. I saw that similar questions in past were closed without a single comment. Hope your support team works better today.