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.
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.
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.
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。
学问:纸上得来终觉浅,绝知此事要躬行
为事:工欲善其事,必先利其器。
态度:道阻且长,行则将至;行而不辍,未来可期
.....................................................................
------- 桃之夭夭,灼灼其华。之子于归,宜其室家。 ---------------
------- 桃之夭夭,有蕡其实。之子于归,宜其家室。 ---------------
------- 桃之夭夭,其叶蓁蓁。之子于归,宜其家人。 ---------------
=====================================================================
* 博客文章部分截图及内容来自于学习的书本及相应培训课程以及网络其他博客,仅做学习讨论之用,不做商业用途。
* 如有侵权,马上联系我,我立马删除对应链接。 * @author Alan -liu * @Email no008@foxmail.com
转载请标注出处! ✧*꧁一品堂.技术学习笔记꧂*✧. ---> https://www.cnblogs.com/ios9/