Tom
Tom

Reputation: 69

Failed to upgrade JRE from 1.6 to 1.8 on macbook

I'm trying to upgrade my jre. I've downloaded jre-8u121-macosx-x64.dmg and installed it. When I check my java version on system preference, it is correct, like this: enter image description here

However, when I check my JRE version on my terminal, it still shows that the Java version is 1.6, like this: enter image description here So what should I do to upgrade my JRE correctly?

Upvotes: 1

Views: 194

Answers (1)

greg-449
greg-449

Reputation: 111142

You must install the full JDK version of Java 8 - 'jdk-8u121-macosx-x64.dmg'.

On macOS the JRE only installs support in the browser.

Upvotes: 2

Related Questions