Install the Java version that Apple tells you to install.
And then reinstall Photoshop CS5 to replace the files damaged by the MacOS 10.10 installer.
Chris, thank you !!
i wish i could be as Technical as you..
not sure what you mean Apple is telling me because they are not saying anything about what Java version i need to download.
any further advise is welcome
IIRC the Apple dialog says you need Java 6 SE.