mac安装eclipse完整教程


前置条件:jdk以安装好


第一次使用mac,装了一下午eclipse,终于搞定,特来分享

下载eclispe前,请阅读该文档:

http://wiki.eclipse.org/Eclipse/Installation

此文档介绍了所有eclipse版本和其所需环境,一定要与选择与自己java版本对应的eclipse,笔者在此走了很多弯路,浪费了很多时间,在此希望大家注意

摘取片段,供大家参考

Eclipse 4.7 (Oxygen)

Eclipse 4.7 (Oxygen) was released on June 28, 2017. See Oxygen schedule.

Consider using the Installer. Please see 5 Steps to Install Eclipse.

Java 8 JRE/JDK is required to run all Oxygen packages based on Eclipse 4.7. The reasoning behind requiring Java 8 are discussed here.

Eclipse 4.6 (Neon)

Eclipse 4.6 (Neon) was released on June 22, 2016. See Neon schedule.

Consider using the Installer. Please see 5 Steps to Install Eclipse.

Java 8 JRE/JDK is required to run all Neon packages based on Eclipse 4.6. The reasoning behind requiring Java 8 are discussed here.

Eclipse 4.5 (Mars)

Eclipse 4.5 (Mars) was released on June 24, 2015.

Consider using the new Installer! Please see 5 Steps to Install Eclipse.

Java 7 JRE/JDK is required for all Mars package downloads based on Eclipse 4.5. Information concerning tested configurations for Eclipse 4.5 is provided here.

Eclipse 4.4 (Luna)

Eclipse 4.4 (Luna) was released on June 25, 2014.

Java 7 JRE/JDK is required for most of the Luna package downloads based on Eclipse 4.4. Information concerning tested configurations for Eclipse 4.4 is provided here.

Eclipse 4.3 (Kepler)

Eclipse 4.3 (Kepler) was released in June 2013.

A Java 6 JRE/JDK is recommended for Eclipse 4.3. More information concerning tested configurations for Eclipse 4.3 is provided here.


OK,看完文档就可以下载了,我用的jdk1.7,因此可以使用对应的4.4(Luna)和 4.5(Mars)版本,下载地址如下,当然大家可以根据自己的需要下载所需版本

Luna:http://www.eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/lunar

Mars:http://www.eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/mars2


此处下载的是tar.gz文件,要解压之后才能使用,不太熟悉mac的同学可以找到下载该文件的地方,直接使用如下命令解压:

tar -zxf eclipse-jee-mars-2-macosx-cocoa-x86_64.tar.gz 

解压完成后会看到eclipse.app,直接双击即可使用




你可能感兴趣的:(java)