I installed Gradle from the repository. Then I downloaded Intellij Idea Community Edition from the official website and installed it.
I set the Java JDK and now I am trying to open a Gradle Project, but the problem is that it doesn't accept my Gradle home:
~/Documents/idea-IC-141.2735.5/bin$ whereis gradle
gradle: /usr/bin/gradle /usr/share/gradle /usr/share/man/man1/gradle.1.gz
What's wrong?
Edit: now I can choose the first option Use default gradle wrapper (recommended)
Probably because I restarted, I don't know