1: 下载并解压:tar -zxvf eclipse3.0.tar.gz
2: 如何你jdk安装好的话,可以直接双击eclipse 来运行。
不过这个时候系统中是没有安装的,只是个绿色软件。
3:安装到系统中
sudo gedit /usr/share/applications/eclipse.desktop
内容:
[Desktop Entry]
Encoding=UTF-8
Name=Eclipse
Comment=Eclipse IDE
Exec=/your path/eclipse/eclipse
Icon=/your path/eclipse/icon.xpm
Terminal=false StartupNotify=true
Type=Application
Categories=Application;Development;
这样你就可以在ubuntu 的应用程序中搜索得到了。
并且可以把应用程序中的程序拖拽带 左边,作为快捷方式。