首页 > 代码库 > CentOS安装Eclipse luna

CentOS安装Eclipse luna

1  解压 Eclipse luna到/opt

tar -zxvf eclipse-java-luna-SR1-linux-gtk-x86_64.tar.gz -C /opt

2  创建软链接

ln -s /opt/eclipse/eclipse /usr/bin/eclipse

3  创建一个Gnome 启动

vi /usr/share/applications/eclipse.desktop

添加如下代码:

[Desktop Entry]Encoding=UTF-8Name=Eclipse 4.4.1Comment=Eclipse LunaExec=/usr/bin/eclipse
Icon=/opt/eclipse/icon.xpmCategories=Application;Development;Java;IDEVersion=1.0Type=ApplicationTerminal=0


CentOS安装Eclipse luna