一、下載eclipse,解壓到/opt/eclipseapp
二、在.local/share/applications下創建eclipse.desktop,內容爲:eclipse
[Desktop Entry]
ip
Version=1.0it
Type=Application
io
Name=Eclipsecli
Icon=/opt/eclipse/icon.xpm
下載
Exec="/opt/eclipse/eclipse" %ftop
Comment=Develop with pleasure!co
Categories=Development;IDE;desktop
Terminal=false
StartWMClass=eclipse
三、若是須要全部人可見,能夠將eclipse.desktop放到/usr/share/applications目錄下。