After I installed Yosemite, when I tried to open Eclipse (Java IDE) for the first time, I was prompted with the following error:
need to install legacy Java SE6 runtime
First, install the latest Java update from the Java Control Panel in System Preferences
Then, I try to test my Java installation from the Terminal (find the built-in app in Launchpad) by typing the following command:
And I get the following error:
No Java runtime present, requesting install.
So I downloaded the Java JDK (Java SE Development Kit 8u25) from:
The problem is solved after installing the downloaded package. I can now successfully open my Eclipse.