2

I have intellij 2017.3 gradle and java-9.

For example setting the PATH variable.

None of the following work.

  • setting via the build dialog
  • $PATH changes made in .profile OR
  • OR /etc/paths OR
  • /etc/launchd.conf

I'd expect the build dialog to work and setting within /etc/paths.

None of these options are working, and within the code the path variable is the default. e.g. without /usr/local/bin.

Sunil Kanzar
  • 1,244
  • 1
  • 9
  • 21
Interlated
  • 5,108
  • 6
  • 48
  • 79
  • 1
    Please, check this answer: https://stackoverflow.com/a/50836696/2457251 It's a little more generic than your specific question and maybe it works for you. – Almir Campos Jun 13 '18 at 12:21

1 Answers1

2

This was logged as a bug by JetBrains. The workaround is to use java-8 as the jvm for gradle. IDEA-188768

Andrey
  • 15,144
  • 25
  • 91
  • 187
Interlated
  • 5,108
  • 6
  • 48
  • 79