Quote:
Originally posted by Unregistered Here's my .bash_profile file.
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/bin:/usr/java/j2sdk1.4.0_01/jre/bin
export JAVA_HOME=/usr/java/j2sdk1.4.0_01/jre
export PATH=$JAVA_HOME/bin:$PATH
export PATH
unset USERNAME |
That seems pretty complicated ... all mine says is:
PATH=$PATH:$HOME/bin:usr/java/j2se1.4.0_01/bin
export PATH
unset USERNAME
exporting your path statment twice seems redundant.