I am trying to add JAVA_HOME and an updated PATH to my .bashrc file on Redhat Enterprise Linux.
My .bashrc file has only these two lines, but I get the error " : command not found "
#user specific environment and startup programs
export JAVA_PATH=/path/to/JDK
export PATH=$PATH:/path/to/JDK/bin
I'm not sure what this command not found thing is all about, I'm not even issuing a command. Is : a command?