ubuntu下安装eclipse

环境:12.10

先安装JDK

下载Eclipse

从官网http://www.eclipse.org/downloads/下载Eclipse IDE for Java EE Developers的Linux 32 Bit版本

tar -xvf 解压

将解压目录移到安装目录

mv eclipse /usr/local

启动eclipse

/usr/local/eclipse/eclipse

创建桌面快捷键

vim /usr/share/applications/eclipse.desktop

写入

[Desktop Entry]
Name=Eclipse
Comment=Eclipse SDK
Encoding=UTF-8
Exec=/usr/local/eclipse/eclipse
Icon=/usr/local/eclipse/icon.xpm
Terminal=false
Type=Application
Categories=Application;Development;

然后就可以在Dash Home里面看到eclipse图标了。

你可能感兴趣的:(ubuntu下安装eclipse)