本文共 672 字,大约阅读时间需要 2 分钟。
下载地址:
# yum install -y java# java -versionjava version "1.8.0_11"Java(TM) SE Runtime Environment (build 1.8.0_11-b12)Java HotSpot(TM) 64-Bit Server VM (build 25.11-b03, mixed mode)
# tar xf eclipse-jee-luna-SR2-linux-gtk-x86_64.tar.gz -C /opt #将eclipse解压到/opt目录下# ln -s /opt/eclipse/eclipse /usr/bin/eclipse #创建软连接# vim /usr/share/applications/eclipase.desktop #创建一个 启动项[Desktop Entry]Encoding=UTF-8Name=Eclipse 4.4.2Comment=Eclipse LunaExec=/usr/bin/eclipseIcon=/opt/eclipse/icon.xpmCategories=Application;Development;Java;IDEVersion=1.0Type=ApplicationTerminal=0
至此就安装成功了。。
转载于:https://blog.51cto.com/12217917/2061985