Install Eclipse on Mac OS
1. Go to http://www.eclipse.org/downloads/ to download a copy of the eclipse. Out of all the listed options, you need to install Eclipse IDE for Java Developers. Click the 64-bit download link as shown in the image below:
2. Upon clicking the 64-bit option, you would be redirected to a download page where you can choose the server nearest to you so that you can download faster. Simply click download button. Your download will start automatically.
3. Once the download is done. Go to the download folder. You will normally have an icon for the Downloads folder on the right-hand side of the dock.
You would find a file named “eclipse-java-mars-2-macosx-cocoa-x86_64.tar” (the file name may be different based on the version you download but it should be a tar file starting with word eclipse).
4. Drag the zipped file to the desktop and double click to open it. The file would be unzipped with default archive utility and you would find eclipse icon on the desktop. Open Finder, select applications and then drag the eclipse icon from desktop the application folder in finder. The easiest way to do so is to open a new window in the Finder and click on Applications in the list you get on the left-hand side. Then drag the “eclipse” folder in with the other applications. Make sure that you do not drag it into a folder that’s already within Applications. In other words, when you’re done, the Applications folder should have directly within it a folder named “eclipse.”
5. Now installation is done, you can now launch the eclipse by clicking the icon in applications. Alternatively, you can drag the icon from applications to the dock so that you can launch it directly from the desktop.
6. The first time you launch the application, you would get the following warning, just click Open.
7. The next pop up would have a message To open eclipse you need to install the legacy Java SE 6 runtime. The pop up would look like this. Click OK
8. Go to the link http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html the page would look like the below screenshot. Accept the License Agreement and download the file mapped to Mac OS X x64. In my case it is jdk-7u79-macosx-x64.dmg, you may find it different based on the java version you are trying to install.
9. Once the download is complete, run the file and follow the installation instruction.
10. Once installation is done, open the Eclipse, it should run fine now.