Just two days ago I upgraded to Yosemite, and then could not start Flash Builder 4.7 this morning with this error popup: "To open Adobe Flash Builder 4.7 you need to install the legacy Java SE 6 ..."
I downloaded and installed this version of Java for Mac: Java for OS X 2014-001, restarted my machine, and all was well again.