How do I set up new system variable in Ubuntu?
I already wrote it in /etc/profile and /home/*/.bash_profile but the variable didn't came out when I echoed it from the console. I even reboot my computer since changing session didn't even worked when I echoed it.
I wrote this variable:
JAVA_HOME="/usr/local/jdk1.5.0_01"
PATH="$PATH:$JAVA_HOME/bin"
It worked on other distro but it didn't work on my Hoary?
Anybody could help me on this?
Thnx in advance.
Bookmarks