How do I remove java version "1.6.0_65"? Every single time I try to install the Oracle Java Runtime Environment... I keep being stuck with Apple's Java 6. I have no idea how Apple's Java 6 ended up on my computer in the first place. The mac OS version is High Sierra 10.13.4.

I keep putting "java -version" into the terminal and it comes out telling me I'm still running 6...

How do I remove Java 6 completely as I need to install java 8 instead?
Visit first this page: How do I uninstall Java on my Mac? and see that Oracle is offering a tool for uninstalling (here).