I’m getting following error in my IntelliJ.
Java home is different.
Expecting: 'C:javaOpenJDKjdk1.8.0_201' but was: 'C:javaOpenJDKjdk1.8.0_201jre'.
Please configure the JDK to match the expected one.
Open JDK Settings
I have seen the similar post here and tried all the options. As you can see its complaining about /jre of the same jdk which is weird.
My Project SDK and gradle are exactly the same.
The SDK in platform setting are also the same.
Any idea why its complaining about the same jdk?