1: Download eclipse
http://www.eclipse.org/downloads/index-developer.php
2: Unzip the file
tar -zxvf eclipse-cpp-oxygen-3a-linux-gtk-x86_64.tar.gz
3: Start eclipse
Manually execute ./eclipse.sh in the decompressed directory
4: Create a startup shortcut
The content of sudo gedit /usr/share/applications/eclipse.desktop
is as follows:
[Desktop Entry]
Type=Application
Name=Eclipse
Comment=Eclipse Integrated Development Environment
Icon=/home/ruanxw/eclipse/icon.xpm //Start the icon directory, just In the decompressed executable program directory
Exec=/home/ruanxw/eclipse/eclipse //The directory where the startup program is located, in the decompressed directory
Terminal=false
Categories=Development;IDE;Java;
5: Save the file, restart the computer, you can quickly start eclipse at the beginning of the search