| Author |
Class varible in linux
|
sarvan kumar
Ranch Hand
Joined: Jul 28, 2010
Posts: 66
|
|
Hi,
How to set class varible in centos permananently without restarting the system
Thanks and Regards
K.Saravanan
|
 |
Joe Ess
Bartender
Joined: Oct 29, 2001
Posts: 8291
|
|
|
do you mean the CLASSPATH environment variable?
|
"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
|
 |
sarvan kumar
Ranch Hand
Joined: Jul 28, 2010
Posts: 66
|
|
|
yes
|
 |
sarvan kumar
Ranch Hand
Joined: Jul 28, 2010
Posts: 66
|
|
How to set jboss path in system variable? in centos
|
 |
Joe Ess
Bartender
Joined: Oct 29, 2001
Posts: 8291
|
|
First, you shouldn't have to reboot a Linux for anything short of a kernel upgrade.
You set an environment variable like this:
If you want the variable to be set "permanently", you can append that command to the .bash_profile file in your home directory.
If you want every user to have the same setting, append it to the end of the /etc/profile file.
Once you change a configuration file, you'll have to either log out and log back in or issue the source command to re-initialize the environment.
|
 |
 |
|
|
subject: Class varible in linux
|
|
|