I am trying to get IntelliJ to understand where the path variable M2_HOME is, obviously I am failing. I have added it in the .bashrc but after what I read from other posts this on sets the variable in the CLI. Where should I add it, and so it is set each time I login?
I have read the other StackOverflow posts about the topic but I don’t understand where I should add it.
To set it you can either edit your
~/.MacOSX/environment.plistto add your env variables (such as M2_HOME)Here is mine :
Or you can set it manually in IntelliJ’s configuration:

Related issues:
Resources: