As I install a new version of J2EE1.3.1, I try to change the J2EE_HOME path in /etc/profile. But when I type env, the path is still the old one. So, I check /home/sophia/.bash_profile and /root/.bash_profile and they are correct. What other files do I have to check ?
It works after rebooting. Thanks. Can I restart a service without rebooting the server like "/etc/rc.d/init.d/* restart" ?
Joined: Jan 07, 1999
It works after rebooting Gosh. This is probably a Windows habit that I recommend you try and get out of. You should only need to reboot a Linux box when you do something really major (like install a new kernel, or some new internal hardware). For most user-level things all you need to do is log out and log in again. Tme great majority of services (daemons in Linux/Unix terms) can be stopped, started and restarted just by logging in as root and typing (for example) /etc/rc.d/init.d/httpd stop or /etc/rc.d/init.d/httpd restart and so on.