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?

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

4 Answers 4

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.

1
  • Exactly what I just did... :) glad to know it's not that fat of a chance... :)
    – Alex Zak
    Feb 22, 2015 at 16:57
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

4
  • Seems promising, but I can't load the support.apple.com page, It stays blank for some reason. Nov 22, 2014 at 12:39
  • I get that sometimes with those kb/ links Try going to apple.com/support & pasting the kb number into search instead.
    – Tetsujin
    Nov 22, 2014 at 14:31
  • 1
    It is working here - otherwise here is the direct link to the dmg-file: support.apple.com/downloads/DL1572/en_US/JavaForOSX2014-001.dmg Nov 22, 2014 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, 2015 at 0: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)

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .