[Diary] Install Eclipse on Ubuntu 18.04

1. Download address: https://download.csdn.net/download/hatzhou/10642318

2. Unzip the file to the home directory:

 tar zxcf ~/Downloads/eclipse-java-2018-12-R-linux-gtk-x86_64.tar.gz -C ~/opt

3. Create desktop icons

sudo vim /etc/share/applications/eclipse.desktop

    Insert the following:

Desktop Entry] 
Encoding=UTF-8 
Name=Eclipse 
Comment=Eclipse IDE 
Exec=/home/wunian/opt/eclipse/eclipse 
Icon=/home/wunian/opt/eclipse/icon.xpm 
Terminal=false 
StartupNotify=true 
Type=Application 
Categories=Application;Development;
sudo chmod u+x /etc/share/application/eclipse.desktop
cp /etc/share/applications/eclipse.desktop ~/Desktop
cd ~/opt/eclipse
ln -sf $JRE_HOME jre

 

 

 

Guess you like

Origin blog.csdn.net/geeksoarsky/article/details/89433883