I tried below code in multiple time but can not get environment variable panel in Ubuntu 19.04.x
sudo -H gedit /etc/environment.
If anyone know how to do that, please help.
I tried below code in multiple time but can not get environment variable panel in Ubuntu 19.04.x
sudo -H gedit /etc/environment.
If anyone know how to do that, please help.
As the doc mention, you should modify/add environment variables into the /etc/profile.d/*.sh
(global envs) files or .profile
(session envs) file.
Simply do the following as an example:
export PATH=$PATH:$JAVA_HOME/bin