I want to set the environment variable I added below the line to ~/.bash_profile and ~/.profile but it didn\'t work.
~/.bash_profile
~/.profile
export JBOSS_H
cp zprofile ~/.zprofile
Add to .zprofile:
.zprofile
export LC_ALL=en_US.UTF-8 export LANG=en_US.UTF-8
eg. by >vi .zprofile
>vi .zprofile
Done