Right after upgrading to Mac OS Yosemite (10.10), my Eclipse won\'t start anymore. Instead I get
The JVM shared library /Library/Java/JavaVirtualMachi
You may change the system version temporarily in the "SystemVersion.plist" located at System > Library > CoreServices.
Edit as root changing ProductVersion to 10.7.3 (or whatever works for you).
Install java.
Don't forget to change it back.
Go to the link below and download Java for OS X 2014-001
http://support.apple.com/kb/DL1572?viewlocale=en_US&locale=en_US
Hopefully after installing it , it will work