How to edit system variables in Linux ??
Above to links explain everything about environment variables very thoroughly, so it will answer your question.
P.S.: It would be nice, if you would always keep your titles very specific, if you need help in something. Currently, the title is way too broad and unspecific.