[Mac] To open Eclipse you need to install the legacy java se 6 runtime


Posted on : Mon, 24th Oct 16 09:12 am (Updated on : Mon, 24th Oct 16 09:12 am) UTC
Author : Code2care
2314 votes

I recently upgraded my Mac Computer from version 10.10 Yosemite to 10.11 EL Capitan, trying to Open eclipse gave me the following error,

To open "Eclipse" you need to install the legacy java 6 runtime. Click "More info.." to visit the legacy Java 6 download website.


I already had java 8 version installed on my system and did not wanted to use Java 1.6. There are various ways you can fix this issue, loads of troubleshooting steps available on StackExchange apple and stackoverflow forums, one of them is to edit the plist file of eclipse, but the simplest way is to download Java 8 for Mac from website and install it again,

  1. Click on Eclipse launch icon,
  2. You will be prompted with the Error with option "More Info..", Click on it, will lead you to
    https://support.apple.com/kb/DL1572?locale=en_US
  3. Click on Download button and Install the javaforosx.dmg
  4. Now try and open eclipse you should not get any errors!!

Code2care's mission is to share varied knowledge in technical and non-technical areas gathered during day-to-day learnings and development activities so that our visitors can leverage this portal to find solutions to their queries without re-inventing the wheel. Technical posts include Learnings, Tutorials, Video Tutorials, Code Snippets, Tips-n-tricks.

Follow us : Facebook - Twitter - Google +