Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Eclipse C/C++ Developer Guide
Previous Page Home Next Page

Setting environment variables

You can set the environment variables and values to use when an application runs.

To set environment variables:

  1. In the C/C++ Projects view, select a project.
  2. Click Run > Run or Run > Debug.
  3. In the Configurations box, expand C/C++ Local.
  4. Select a run or debug configuration.
  5. Click the Environment tab..
    Run Environment Window
  6. Do one of the following:
    • To create a new environment variable, click New.
    • To import an environment variable, click Import.
    • To edit an existing environment variable, select an item from the list and click Edit.
    • To remove an existing environment variable, select an item from the list and click Remove.
  7. Type a name in the Name box.
  8. Type a value in the Value box.
  9. Click Run or do the following, as required:

Related concepts
CDT Projects
Project file views

Related tasks
Creating or editing a run configuration

Related reference
Run and Debug dialog box

IBM Copyright Statement

 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire