-1

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

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?

Unknown
  • 189
  • 4
  • 18

1 Answers1

0

I think in your system have both java 12 and 8 verison, try to configure java 8 version in system path variable and check once, and please make sure that both( jdk and sts) have same bit 32 or 64.