Using environment variables in “VM options” and “Program arguments”

You can access environment variables using the brace-enclosed environment variable syntax. Example:

VM options: -Dfoo=${MY_ENV_VAR}

VM options

MY_ENV_VAR environment variable will be expanded properly.

Update: tested in IntelliJ IDEA 2017.1.2 and still working.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)