1. Download the software
Eclipse official website: http://www.eclipse.org/downloads/
The above is the Windwos version, because I operate it on a local computer. If you enter it with the ubuntu browser, the Linux version will be displayed by default. If you want to download the old version of the previous version, there is a corresponding version on the right to download it.
Or go up here: http://archive.eclipse.org/eclipse/downloads/
This is the Neon version, which is about 220M
After downloading
2. Installation
Unpack to the specified directory
There are probably some files after decompression
3. Run eclipse
1. Create a configuration file for Eclipse
Execute in the hyperterminal:
cd /usr/share/applicationssudo touch eclipse.desktop //xx.desktop The xx here can be any legal name, but the file name suffix must be .desktop
2. Configure
Execute in the hyperterminal:
sudo gedit eclipse.desktop
Then enter the following content in the file:
[Desktop Entry] Type=Application Name=Eclipse Comment=Eclipse Integrated Development Environment Icon=/home/fendo/download/eclipse/icon.xpm Exec=/home/fendo/download/eclipse/eclipse Terminal=false Categories=Development;IDE;Java;
where /home/fendo/download/eclipse/ is the installation path of eclipse. Save, close the file. Then
3. Click the circular icon (Dash homepage) in the upper left corner of ubuntu and enter the name you just named eclipse
Click to execute and report an error :
A java Runtime Environment(JRE) or java Development ket(JDK) must be available in order to run eclipse no java virtual machine was found after searching the following locations
Solution:
sudo mkdir jrecd jresudo ln -s your JDK directory/bin
Click eclipse again, Eclipse will be opened
At the same time, the Eclipse icon also appears on the launch bar on the left side of the desktop. Right-click the Eclipse icon and select "Lock to launcher" in the pop-up menu, so that you can lock it.
The above is all the content of this article. I hope it will be helpful to everyone's learning and I hope everyone will support Wulin.com more.