To define an environment variable under Windows click on :
start > settings > control panel > system > advanced > environment variables
To define an environment variable under Linux (t)csh, place the following line in your .cshrc
setenv <var> <value>
To defined an environment under Linux bash, place the following line in your .bashrc
export <var>=<value>
Previous : GNU public license