the files where you add the export command depends if you are in login-mode or non-login-mode.
if you are in login-mode, the files you are looking for is either /etc/bash or /etc/bash.bashrc
if you are in non-login-mode, you are looking for the file /.profile or for the files within the directory /.profiles.d
the files mentioned above if where the system variables are.