If you are using bash (Find out using "echo $SHELL"), then you need to add the line
to your .bashrc or .bash_profile.
As far as I know, .login is for tcsh or csh, which most people dont use. Of course, if you do use tcsh, then add the setenv line to .login.
I hope this helps