2. Visit the official Eclipse homepage http://www.eclipse.org/home/index.php, and click on the "Download" button in the top right corner:
3. A variety of download and installation packages are listed here, which can be selected according to your needs. Since we need to develop a Web-based JSP program, choose this one from Java EE:
4. Select a mirror site to download to the desktop of your Mac:
5. Unzip the installation package and drag the extracted eclipse into the finder's application:
6. Running Eclipse, the first run will let you set the workspace workspace location, under the document. At this point, you have successfully installed eclipse.
7. To open eclipse preferences, we need to configure eclipse:
8. Select Installed JREs below Java from the left sidebar and click the Add button to configure the JDK for Eclipse:
9. Select "Standard VM" and click "Next" button:
10. In the Add JRE interface, click the "Directory" button at the back of the JRE home to select the home folder path when installing the JDK (refer to the Mac how to install steps 5th and 6 in the JDK):
11. Enter the name of the JRE (for example: Jre1_8) and click the "Finish" button:
12. Tick the new JRE and click on the Apply button in the lower right corner to apply the configuration:
13. In the left column, under General workspace, make sure the code is UTF-8, click Apply application configuration (if you see the default encoding is UTF-8, then you can ignore it):
14. Search for "spelling" at the top of the left-hand column and find the option to cancel the spell check after spelling (because Eclipse's spell checker is more mentally retarded):
Now we have finished the eclipse configuration!
Install and configure eclipse under Mac