I am using the latest 2020 version of Eclipse. After installing JRE from https://www.java.com/en/download/windows-64bit.jsp, when I run Eclipse, I get this error:
Version 1.8.0_261 of the JVM is not suitable for this product. Version: 11 or greater is required.
After checking out java -version from command line, I've found out that my Java version is 1.8.0_261.
So, do I have to upgrade to Java 11? If yes, then how?