Reputation: 643
I installed new Intellij of community edition. While running my project which was compiled using default version java(Azul Zulu) comes with Intellij, it was not able to pick environment variables set for java project.
Also, with Oracle OpenJDK it did not worked.
Upvotes: 1
Views: 1006
Reputation: 2611
This has nothing to do with the JDK.
Open the Gradle settings:
Change Build and run using
and Run and test using
to Intellij Idea
.
Upvotes: 0