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.
Nothing of the other solutions work for me on IntelliJ 2019.2 which starts to use JDK 11 on boot, so I have to resolve it on my own.
Open C:\Users\.IdeaIC2019.2\config\idea64.exe.jdk and edit it to be:
C:\Program Files\Java\jdk1.8.0_131
Restart IDE.
As documented on https://www.jetbrains.com/help/idea/switching-boot-jdk.html
Note: the path on your machine may be different.