Results 1 to 4 of 4
Enjoy an ad free experience by logging in. Not a member yet? Register.
setting environmental variables permanently
I need to set path for java and some files permanently..
Below is my requirement,
Please help me how to do this..
Thanks in advance
You can do this in a users ~/bash_profile or globally in /etc/profile. Some distros have a directory called /etc/profile.d where you create scripts that contain the environmental variables you want to set. This means that you don't have to touch /etc/profile.
I have to set system wide, I used /etc/profile, but not working..
after that we need to run any services?
Did you log out and back in again or run "source /etc/profile" after setting the variables?