I downloaded a fuller version of java, and I wanted to update the default path to java. I tried updating the bashrc file as they did here http://www.cyberciti.biz/faq/linux-unix-set-java_home-path-variable/ , but that did not work. How do I fix this?
What you need to do is when setting PATH variable set your new java path to the begging of PATH variable. Check the following example.
The type source