OS:Ubuntu 16.04.1(x86_64)
eclipse:eclipse-jee-2020-06-R-linux-gtk-x86_64
1.去eclipse官网(https://www.eclipse.org/downloads/)下载软件压缩包;
2.将压缩包放到 /usr/local/src 目录,并将其解压到 /usr/local 目录;
3.创建桌面快捷方式:在 /usr/share/applications 创建文件 eclipse.desktop 并添加下面内容,然后可以将该快捷方式复制到桌面;
[Desktop Entry] Encoding=UTF-8 Name=eclipse Comment=Eclipse IDE Exec=eclipse解压目录/eclipse Icon=eclipse解压目录/icon.xpm Terminal=false starttupNotify=true Type=Application Categories=Application;Development;
原文:https://www.cnblogs.com/ChaseMeng/p/13159018.html