> export PATH=$PATH:$JAVA_HOME/bin > export JAVA_HOME=/usr/local/java/jre This is wrong, you can't use $JAVA_HOME *before* it is set. Also, you can always check $PATH in a shell with "echo $PATH" What are contents of /usr/local/java/jre/bin ? -- damjan