Raw materials:
Download jdk-8u121-linux-x64.tar.gz
Download eclipse-jee-neon-2-linux-gtk-x86_64.tar.gz
1. Installing the JDK
sudo MKDIR/OPT/JVM
sudo tar zxvf jdk-8u121-linux-x64.tar.gz-c/OPT/JVM
2. Configuring the JDK environment variables
sudo gedit/etc/profile, add the following statement at the end of the file:
Export java_home=/opt/jvm/jdk1.8.0_121
Export JRE_HOME=${JAVA_HOME}/JRE
Export Classpath=.:${java_home}/lib:${jre_home}/lib
Export Path=${java_home}/bin: $PATH
After the save is launched, restart it to take effect. Check to see if a successful command is installed after restarting Java-version
3. Install Eclipse
sudo tar zxvf eclipse-jee-neon-2-linux-gtk-x86_64.tar.gz-c/opt/
4. Create a shortcut to eclipse on the desktop
CD ~/Desktop
sudo touch eclipse.desktop
sudo gedit eclipse.desktop
Enter the following:
[Desktop Entry]
Encoding=utf-8
Name=eclipse
Comment=eclipse
Exec=/opt/eclipse/eclipse
icon=/opt/eclipse/icon.xpm
Terminal=false
Startupnotify=true
Type=application
Categories=application;development;
Save exit.
Execute: sudo chmod u+x eclipse.desktop turn it into an executable file
sudo nautilus
In the pop-up file Manager find the Eclipse.desktop file on the desktop, right click on select Properties, users choose their own account
and tick the executable option, then close
5, Configuration Pydev
Help Install New software add http://pydev.org/updates, please refer to Baidu ...
Ubuntu 16.04TLS installation Eclipse configuration Pydev