I just installed JRE 8
from here but when I run java -version
it produces the following output still:
My-MacBook-Pro-2:~ myusername$ java -version
java version "1.7.0_21"
Java(TM) SE Runtime Environment (build 1.7.0_21-b12)
Java HotSpot(TM) 64-Bit Server VM (build 23.21-b01, mixed mode)
Why is this?