Re: adding path to bashrc? You logged out and back in so it would refresh? Or you can source the file with this at a prompt to force an update:
. /etc/profile
-or-
source /etc/profile
-or-
. ~/.bashrc
-or-
source ~/.bashrc
Then type "echo $PATH" to verify the directory is in your path.
Then type "java -version" or "which java" to verify the correct one is running. |