mak1012
Journeyman
hey fols i just installed J2ee sdk in my ubuntu but i'm not able to add the environment variable in.. i referenced the sun's site it says
but in ubuntu there is no $HOME/.profile... please tell me if there is ne other way to do this..Setting Environment Variables
This section shows how to set environment variables on different operating systems and shells. Each example sets the variable MYVAR to the value widget. The term "local" means that the setting is in effect only for that terminal window. "Global" means that the variable is set for all terminal windows that are subsequently launched.
Unix Bourne and Korn Shells (sh, ksh)
Local:
$ MYVAR=widget
$ export MYVAR
Global:
Edit the $HOME/.profile script so that it includes the preceding assignment and export commands. You need to logout and login again for these changes to take effect.