0

This question is extended from this question. The top solution is not valid for Yosemite anymore. Could someone suggest a way to fix this.

Setting environment variables in OS X?

Because of this I cant even import my project to Idea Intellij 14...

Community
  • 1
  • 1
phoenix
  • 717
  • 1
  • 8
  • 26

1 Answers1

0

The problem is that the env vars are not accessible when an application is run from spotlight.

When I ran intellij from the command line, this problem was solved.

If you still want to run intellij from command line, wrap idea in a bash script. This will cause it to spawn from the command line itself.

phoenix
  • 717
  • 1
  • 8
  • 26