|
||||||
| Forums FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| ARCHIVES - Software Questions about use, installation, or configuration of software running on SUSE Linux |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
I use suse10.2 and am trying to set the JAVA_HOME variable. Problem is, is it's not saving. I set it (export JAVA_HOME=/path/to/java) and as soon as i reboot the system or even shut down the terminal it disappears. What am I doing wrong or is there another command I don't know about?
Any help would be greatly appreciated. <_< |
|
|||
|
export only exports the variable setting to children of the current shell. When you log out, your shell exits and the setting disappears.
To make it "permanent" you need to set it in your login scripts. Usually $HOME/.bashrc is the place. |
|
|||
|
Quote:
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|