Home > Blockchain >  IntelliJ - easy way to add all environment variables and PATH locations to the run config
IntelliJ - easy way to add all environment variables and PATH locations to the run config

Time:12-31

We can add Environment variables one by one environment variables manually using UI screen. But is there a easy way to load/add all PATH locations or Environment variables mentioned in .bashrc file.

enter image description here

CodePudding user response:

Yes all you need to do is paste them in the Run/Debug Configuration screen before this window opens. Each env variable must be deliminated by a semicolon ; too.

Example:

PATH=/mypath; JAVA_HOME=/anotherpath;

Intellij Guide:

Edit existing Run/Debug Configs

Paste them here

  • Related