I am trying to install Spring Tool Suite. I have successfully installed it. But when I am opening the application, it gives me this warning
I have jdk and jre both installed in my laptop
(C:\Program Files\Java)
I have also added the jdk path in my environment variable by setting variable name
JAVA_HOME
and path is
C:\Program Files\Java\jdk-12.0.1.
My java version
java version "1.8.0_211"
I have also verified my path using echo %JAVA_HOME% and the path is correct. Can anybody help me why I am I still getting this error? Is there any step that I am missing?