个人博客:打开链接
ubuntu17安装离线版eclipse教程
1.解压eclipse
cp eclipse-jee-oxygen-1-linux-gtk-x86_64.tar.gz /usr/software
cd /usr/software
tar -xvf eclipse-jee-oxygen-1-linux-gtk-x86_64.tar.gz
2.配置jre:
cd /usr/software/eclipse
sudo ln -sf $JRE_HOME jre
3.
apt install gksu
cd /usr/share/applications
sudo touch eclipse.desktop
sudo vim eclipse.desktop
粘贴并保存如下内容
[Desktop Entry]
Encoding=UTF-8
Name=eclipse
Comment=eclipse
Exec=/usr/software/eclipse/eclipse
Icon=/usr/software/eclipse/icon.xpm
Terminal=false
StartupNotify=true
Type=Application
Categories=Application;Development;
4.授权
sudo chmod u+x eclipse.desktop
sudo cp eclipse.desktop /home/jason/桌面