Gradle – Could not target platform: ‘Java SE 8’ using tool chain: ‘JDK 7 (1.7)’

I am trying to import Gradle project in Intellij Idea with local Gradle distrib and getting stacktrace with the following message: Could not target platform: 'Java SE 8' using tool chain: 'JDK 7 (1.7)'.
Could anyone explain please what could be the reason?

13 Answers
13

Leave a Comment