You can specify environment variables in a run configuration. These variables then apply only when running your application. You can either specify that the configuration uses the variables as set in the project's properties or specify other variables
To specify environment variables to use at run time:
This opens the Run Configurations dialog box.
Inherit variable values from an associated project:
This configuration inherits variable values specified at the build configuration level of any associated projects, or if there are no variables set in the build configuration settings, then the ones specified in at project level.