Intellij constantly asking for "env.GRADLE_HOME".

Answered

Basically every time I open Intellij I get the error message.

When I go to “Fix it” I get the configuration screen:

 

So GRADLE_HOME and GRADLE_USER_HOME are obviously set from Windows environment variables correctly. I then remove env.GRADLE_HOME but next time after opening the project, the error will appear again. This furthermore happens not only on one certain project but on different projects.

Do I have to configure this “env.GRADLE_HOME” separatly even when GRADLE_HOME is set correctly?

I had this same issue some time ago with GRADLE_USER_HOME. Intellij constantly asking for env.GRADLE_USER_HOME. Then the issue seems to be gone. Now it happens again with GRADLE_HOME. Don't know why. Maybe since latest update to 2024.3.5?

 

Thx.

Rob

0
1 comment

Hi Rob,

Something (a plugin, for instance) could be adding this variable to IDE settings on startup. You can try:

  • Temporarily disabling ALL non-bundled plugins and restarting the IDE: File | Settings | Plugins | ⚙ | Disable all downloaded plugins
  • Adding the variable to ignored variables
  • Reset IDE settings to defaults (a backup copy will be created in the process): File | Manage IDE Settings | Restore Default Settings
0

Please sign in to leave a comment.