12

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?

4 Answers4

13

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.

mpoisot
  • 286
3

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

Daniel
  • 34,803
  • Seems promising, but I can't load the support.apple.com page, It stays blank for some reason. – Haroen Viaene Nov 22 '14 at 12:39
  • I get that sometimes with those kb/ links Try going to http://www.apple.com/support/ & pasting the kb number into search instead. – Tetsujin Nov 22 '14 at 14:31
  • 1
    It is working here - otherwise here is the direct link to the dmg-file: http://support.apple.com/downloads/DL1572/en_US/JavaForOSX2014-001.dmg – Rene Larsen Nov 22 '14 at 14:31
  • I can't remember which, but I have found that clearing cache/cookies helps with support.apple.com not loading. – Kevin Chen Feb 10 '15 at 00:24
1

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.

0

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)