LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Setting Environment Variables on SUSE permanently (https://www.linuxquestions.org/questions/linux-newbie-8/setting-environment-variables-on-suse-permanently-4175427044/)

mukyvelous 09-13-2012 06:59 AM

Setting Environment Variables on SUSE permanently
 
Hi,

I am experiencing difficulty in setting my JAVA_HOME, apache maven,and tomcat environment variable on SUSE server permanently.

SUSE release:

SUSE Linux Enterprise Server 10 (i586)
Version = 10
PATCHLEVEL = 1
LSB_VERSION=''core-2.0-noarch:core-3.0-noarch:core-2.0-ia32:core-3.0-ia32''

Really appreciate any help i can get.

Thanks

pan64 09-13-2012 07:10 AM

see /etc/profile, man bash or this thread: http://www.linuxquestions.org/questi...bashrc-273992/

aniketmeshram 09-13-2012 01:01 PM

add the paths to the bash profile in your home or root directory wherever you like, and export it to the environment by

Quote:

export PATH


All times are GMT -5. The time now is 09:49 PM.