11

I am not yet a Linux guy and I have some problem trying to add a new permanent environment variable.

So I have to set a new environment variable named CATALINA_HOME with this value: /opt/apache-tomcat-8.0.23

What can I do to set it permanently?

Tnx

0

1 Answer 1

16

Add the following to the /etc/profile file (for system wide change) or to ~/.profile for local user.

export CATALINA_HOME=/opt/apache-tomcat-8.0.23

Not the answer you're looking for? Browse other questions tagged .