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,直接雙擊即可使用




發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章