Whenever I open IntelliJ IDEA i get this error:
but I have that defined and I don\'t know why it wont work:
Any help accepted.
Change the following value from your Path system variable:
Path
C:\Program Files (x86)\java\jdk1.8.0_112\jre\bin\server\jvm.dll
to:
%JAVA_HOME%\bin
Also make sure there are no any other references to Java folders in the Path variable.