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

My solution:

First, install the latest Java update from the Java Control Panel in System Preferences

Click the circled Java Control Panel, install the updates from there

Click the circled Java Control Panel, install the updates from there

Then, I try to test my Java installation from the Terminal (find the built-in app in Launchpad) by typing the following command:
>>> java
And I get the following error:
No Java runtime present, requesting install.

So I downloaded the Java JDK (Java SE Development Kit 8u25) from:

http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

The problem is solved after installing the downloaded package. I can now successfully open my Eclipse.

Continue reading



30% OFF MacKeeper Coupon: Coupon Link