If the project comes with Gradle support, you will see a build.gradle
file in your project root.
IntelliJ IDEA has the Gradle plugin installed by default. If you have disabled it, go to File
→ Settings
→ Plugins
to re-enable it.
If your project involves GUI programming, similarly ensure the JavaFX plugin has not been disabled.
Open
. Otherwise, click File
-> Open
.OK
.Gradle JVM
matches the JDK being used for the project.(a) Confirm the project JDK is set to the one you are supposed to use for the project, as explained here.
(b) Confirm the correct JVM is used for Gradle, as given in the panel below: