When you change the linux /etc/environment file where the general environment variables for all sessions are specified, it can be executed to load the new definition of the file into the session by running:

. /etc/environment

This only works for the session where you run it, not the others.