Java Error in Yosemite — “need to install legacy Java SE6 runtime”

Sharing makes learning fun: Share on FacebookTweet about this on TwitterShare on RedditShare on Google+Share on TumblrDigg thisPin on PinterestEmail this to someone

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.

Sharing makes learning fun: Share on FacebookTweet about this on TwitterShare on RedditShare on Google+Share on TumblrDigg thisPin on PinterestEmail this to someone

1 comment

Leave a Reply

Your email address will not be published.