I use ubuntu 12.10 and I downloaded eclipse-java-juno-SR1-linux-gtk.tar.gz.
1, tar 'eclipse-java-juno-SR1-linux-gtk.tar.gz' to /opt.
sudo tar zxvf eclipse-java-juno-SR1-linux-gtk.tar.gz -C /opt
2 Create a desktop file and install it:
-
gedit eclipse.desktopand copy the following to the
eclipse.desktopfile.[Desktop Entry] Name=Eclipse Type=Application Exec=eclipse Terminal=false Icon=eclipse Comment=Integrated Development Environment NoDisplay=false Categories=Development;IDE; Name[en]=Eclipsethen execute the following command to automatically install it in the unity:
desktop-file-install eclipse.desktop
-
Create a symlink in
/usr/local/binusingcd /usr/local/bin ln -s /opt/eclipse/eclipse -
For eclipse icon to be displayed in dash, eclipse icon can be added as
cp /opt/eclipse/icon.xpm /usr/share/pixmaps/eclipse.xpm

本文介绍了在Ubuntu 12.10上安装Eclipse Java IDE的具体步骤,包括解压安装包到指定目录、创建桌面快捷方式并进行配置、设置符号链接及图标等操作。

被折叠的 条评论
为什么被折叠?



