After upgrading to Yosemite, I was unable to run Apache Solr as it could not find a version of Java installed.
No Java runtime present, requesting install.
I downloaded and installed the latest version of Java 8, but that didn’t work. I removed it and downloaded the latest version of Java 7. Still no dice.
After a bit of digging around, I found a reference to installing Java for OS X 2014-001. While this is Java 6, it fixed my issue and allowed me to start Solr.
4 thoughts on “Fixing Java on OS X 10.10 Yosemite”
Same problem. I pointed my PATH at Java 8 from my ~/.bashrc with
Cleared things up for me.
I found that on 10.10 some things didn’t see the Java 8 runtime, but they do see the SDK.
Try the Java 8 SDK. Probably safer than an old Java 6 runtime.
I changed the JRE by the JDK (jdk-8u25-x64-macosx). Everything is working fine now.