I need to update my version of Java to 1.8. I install it successfully, but when I run...
java -version
java version "1.6.0_65"
I know this is something to do with changing my bash path but, after hours of googling, I'm pretty lost as to how to go about doing that. And I also can't find the location of the new version.
Any help is greatly appreciated.