Eclipse IDE安装指南

1、进入Eclipse主站:http://www.eclipse.org,下载最新的Eclipse文件
    eclipse-SDK-3.0.2-linux-gtk.zip
    emf-sdo-xsd-SDK-2.0.2.zip
    GEF-SDK-3.0.1.zip
    uml2-SDK-1.0.2.zip
    NLpack-emf-sdo-SDK-2.0.x.zip
    NLpack-xsd-SDK-2.0.x.zip
2、进入Eclipse-SDK目录
    $cd /下载的eclipse-SDK-3.0.2-linux-gtk.zip压缩文件所在目录
3、将eclipse-SDK-3.0.2-linux-gtk.zip解压至/opt/eclipse目录下
    $sudo unzip -d /opt eclipse-SDK-3.0.2-linux-gtk.zip
4、由于想加快eclipse的启动速度,并使插件便于管理,所以把其他插件放到另一个AddOns目录中,并用link文件指明各插件所在位置,其中在每个插件目录的eclipse目录中生成一个空的.eclipseextension文件。
    $sudo mkdir /opt/eclipse/AddOns
    (之所以用首字母大写是为了区别原来的系统文件目录,方便以后的维护。可能用处不大,但养成良好的习惯总不会有什么错!)
    $sudo mkdir /opt/eclipse/links
    $sudo mkdir /opt/eclipse/AddOns/org.eclipse.emf
    $sudo unzip -d /opt/eclipse/AddOns/org.eclipse.emf emf-sdo-xsd-SDK-2.0.2.zip
    $sudo vi /opt/eclipse/AddOns/org.eclipse.emf/eclipse/.eclipseextension
    $sudo mkdir /opt/eclipse/AddOns/org.eclipse.gef
    $sudo unzip -d /opt/eclipse/AddOns/org.eclipse.gef GEF-SDK-3.0.1.zip
    $sudo vi /opt/eclipse/AddOns/org.eclipse.gef/eclipse/.eclipseextension
    $sudo mkdir /opt/eclipse/AddOns/org.eclipse.uml2
    $sudo unzip -d /opt/eclipse/AddOns/org.eclipse.uml2 uml2-SDK-1.0.2.zip
    $sudo vi /opt/eclipse/AddOns/org.eclipse.uml2/eclipse/.eclipseextension
    $sudo mkdir /opt/eclipse/AddOns/org.eclipse.nlpack
    $sudo unzip -d /opt/eclipse/AddOns/org.eclipse.nlpack NLpack-eclipse-SDK-3.0.x-linux-gtk.zip
    $sudo unzip -d /opt/eclipse/AddOns/org.eclipse.nlpack NLpack-emf-sdo-SDK-2.0.x.zip
    $sudo unzip -d /opt/eclipse/AddOns/org.eclipse.nlpack NLpack-xsd-SDK-2.0.x.zip
    $sudo vi /opt/eclipse/AddOns/org.eclipse.nlpack/eclipse/.eclipseextension
    $sudo gedit /opt/eclipse/AddOns/org.eclipse.emf/eclipse/
    $sudo gedit /opt/eclipse/Links/org.eclipse.emf.link
      path=/opt/eclipse/AddOns/org.eclipse.emf
    $sudo gedit /opt/eclipse/Links/org.eclipse.gef.link
      path=/opt/eclipse/AddOns/org.eclipse.gef
    $sudo gedit /opt/eclipse/Links/org.eclipse.nlpack.link
      path=/opt/eclipse/AddOns/org.eclipse.nlpack
    $sudo gedit /opt/eclipse/Links/org.eclipse.uml2.link
    path=/opt/eclipse/AddOns/org.eclipse.uml2
5、这样基本就装好了Eclipse了,剩下来就是让它在菜单中出现了。
    $gedit ~/.local/share/applications/eclipse-user.desktop
      [Desktop Entry]
      Comment=an open extensible IDE
      Name=Eclipse
      Exec=/opt/eclipse/eclipse
      Encoding=UTF-8
      Terminal=false
      Type=Application
      Categories=Application;Development;
      Icon=/opt/eclipse/icon.xpm
保存!
6、打完收功!呵呵!!

你可能感兴趣的:(eclipse,管理,职场,菜单,休闲)