Installing Eclipse on the ubuntu16.04
First, download
First we need to install jdk1.8 and above, and then from the official website: https://www.eclipse.org/downloads/download, you need to note that the official website of the server is too poor, the response speed is very slow, the reader needs a bit of patience, haha ~ ~ ~ and then choose the first one, Is the eclipse JDE we're going to install.
Clicking the download button will download the appropriate number of bits and versions of Eclipse:
At this point, we want to click "click here" to download, download the time is not prompted, we need to look at the browser's download window to see if it has been downloaded.
Second, installation
Then find the downloaded file:
Extract the downloaded files to the relevant directory, then rename, give permission, and then we go into the folder, using the ./eclipse-inst to start the installation program, if it is only common development we choose the first one can be:
sudo tar-zxvf./downloads/eclipse-inst-linux64.tar.gz-c/usr/local cd/usr/localsudo MV Eclipse-installer/eclipsesudo Chown-r Hadoop:zyr ECLIPSE/LLCD Eclipse/ls./eclipse-inst
After the installation is complete, we can open and use, this time we choose the project storage directory, and Windows, we are free to choose, here we have to create such a directory, and then give this directory permissions:
sudo mkdir eclipse_workspacellsudo chown-r hadoop:zyr eclipse_workspace/ll
So we can open program programming:
But every time we turn on we need to switch to the installation directory open, where we create shortcuts to the desktop:
sudo touch eclipse.desktopsudo gedit eclipse.desktopmv eclipse.desktop ~/desktop/cd desktop/llsudo chmod u+x Eclipse.desktopllsudo chown Hadoop:hadoop Eclipse.desktop
The contents of the edits are as follows:
[Desktop Entry] Encoding=utf-8name=zyr eclipsecomment=eclipseexec=/usr/local/eclipse/java-oxygen/eclipse/eclipseicon=/usr/local /eclipse/java-oxygen/eclipse/icon.xpmterminal=falsestartupnotify=truetype=applicationcategories=application;d Evelopment;
Need to pay attention to our program really run the address, the desktop link must be given permission, or not open:
If we also want to install other tools, we just need to run the ./eclipse-inst .
Installing Eclipse on the ubuntu16.04