Mac 安裝 Eclipse



一:下載教程

前置條件:jdk以安裝好php


第一次使用mac,裝了一下午eclipse,終於搞定,特來分享html

下載eclispe前,請閱讀該文檔:java

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

此文檔介紹了全部eclipse版本和其所需環境,必定要與選擇與本身java版本對應的eclipse,筆者在此走了不少彎路,浪費了不少時間,在此但願你們注意app

摘取片斷,供你們參考java-ee

Eclipse 4.7 (Oxygen)

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

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

A 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.ui

Eclipse 4.6 (Neon)

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

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

A 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.

A 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.

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


二:安裝教程


1.安裝Eclipse前先確認你的Mac上是否已安裝java運行環境。進入終端,輸入」java -version」,若是返回了java版本號則說明已安裝,不然,請先安裝java運行環境

  

2.訪問eclipse官方首頁http://www.eclipse.org/home/index.php ,點擊右上角「Download」按鈕:


3.解壓安裝包

  cd ~/Download

  tar zxvf eclipse-inst-mac64.tar

  

  雙進 Eclipse Installer 打開,

  或者 命令行輸入:

  open /Applications/Eclipse\ Installer.app/

  

  

  

  

  

  

  

  至此,已經成功安裝了Eclipse。

爲人:謙遜、激情、博學、審問、慎思、明辨、 篤行 學問:紙上得來終覺淺,絕知此事要躬行 爲事:工欲善其事,必先利其器。 轉載請標註出處!
相關文章
相關標籤/搜索