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.