I was prompted to install JRE version 8 after upgrading to Yosemite on the family 2010 21" iMac. After I installed it (and checked whether the correct version was installed on the site of Oracle) it prompted that it wasn't installed although it was. I tried just following the steps they gave me to install it, but to no avail. Yosemite still asks to install the JRE on restart.

Does anyone know where the problem is or how I could solve it?

  • How did you install it and what exactly did you install? – Mark Jan 7 '15 at 14:47
  • It seems to be CS5 that's the culprit. – Haroen Viaene Jan 7 '15 at 14:48
  • What is CSS to do with Java? – Mark Jan 7 '15 at 16:15
  • Adobe creative suite 5 – Haroen Viaene Jan 7 '15 at 16:52
  • 1
    @Mark - this question is entirely different than the duplicate you referenced. – Allan Jun 24 '16 at 12:12
up vote 13 down vote accepted

Install the SDK instead of the JRE.

I had a similar issue: I installed the JRE and ran the webpage-based test that said I installed successfully. But my java-based app wouldn't run, and running java -version in the console said Java was not installed. On a whim I decided to install the full SDK and now it all works.

  • Exactly what I just did... :) glad to know it's not that fat of a chance... :) – Alex Zak Feb 22 '15 at 16:57

Apple has a page here where you can download an updated version of Java.

More information can be found from this oracle help page:

https://www.java.com/en/download/faq/java_mac.xml#yosemitejava

This is a known issue on Yosemite and El Capitan, when some software requires the deprecated version of Java 6 shipped with earlier versions of OS X.

Information from Apple about this issue: https://support.apple.com/kb/DL1572

Oracle has a page about the issue here: https://www.java.com/en/download/faq/yosemite_java.xml

You need to download and install the legacy Java 6 provided by apple, from the first link.

Even after installing JRE 1.8, I couldn't get Java to work from the terminal on OS X El Capitan.

enter image description here

So I copied the path found in the "Java Control Panel" and created a link.

sudo ln -s "/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java" /usr/local/bin/java

java -version now yields

java version "1.8.0_101"
Java(TM) SE Runtime Environment (build 1.8.0_101-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode)

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.