I have declared JAVA_HOME in environment variables and I have the following value in PATH: C:\Java\jre1.8.0_45\bin;%JAVA_HOME%; But still while launching IntelliJ I am getting below error.
The values from command prompt:
PS: This is a different problem. But the one I am facing does not have any such issue. I have JRE in my path variable and JDK in JAVA_HOME.(attached the screenshots)