How to specify PATH in Run/Debug ?

my program needs some files which it looks in PATH
i can't change system env

can i specify this PATH in Run/Debug configuration dialog?

maybe i should put something in Environment Variables?
maybe there is a parameter to jvm?
or maybe i can specify 2 working direcories?

1 comment

Hello botWi,

If your code depends on the value of the PATH environment variable, then
you can use the Environment Variables option of the run configuration to
set the necessary value. Press ... to open the editing dialog, enter PATH
as the variable name, and your desired path (or list of paths) as the variable
value.

my program needs some files which it looks in PATH i can't change
system env

can i specify this PATH in Run/Debug configuration dialog?

maybe i should put something in Environment Variables?
maybe there is a parameter to jvm?
or maybe i can specify 2 working direcories?

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

Please sign in to leave a comment.