Use file /etc/bash.bashrc to setup new environment variables.
Do not use: /etc/profile
Do not use: /etc/environment file might work too.
Procedure:
1. Edit: /etc/bash.bashrc
2. Add this line to the end of the file. This sets JAVA_HOME
export JAVA_HOME=/usr/lib/j2sdk1.5-sun/
Saturday, June 20, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment