Install Eclipse in Ubuntu 16.04
Install Eclipse in Ubuntu 16.04
1. Download jdk, jdk-8u77-linux-x64.tar.gz
2. Download eclipse, eclipse-jee-mars-2-linux-gtk-x86_64.tar.gz
Note: I downloaded 64-bit files because my system is 64-bit.
3. Decompress jdk to the/opt/jvm/folder.
Procedure:
Sudo mkdir/opt/jvm
Sudo tarzxvf jdk-8u77-linux-x64.tar.gz-C/opt/jvm
4. Configure the jdk environment variable, open the/etc/profile file (sudo vim/etc/profile), and add the following statement at the end of the file:
Export JAVA_HOME =/opt/jvm/jdk1.8.0 _ 77
Export JRE_HOME =$ {JAVA_HOME}/jre
Export CLASSPATH =. :$ {JAVA_HOME}/lib :$ {JRE_HOME}/lib
Export PATH =$ {JAVA_HOME}/bin: $ PATH
Save and exit.
Make it effective immediately: sudo source/etc/profile
Check whether the installation is successful: java-version appears
Indicates that jdk is successfully installed.
5. Install eclipse and decompress it to the/opt/folder.
Sudo tarzxvf eclipse-jee-mars-2-linux-gtk-x86_64.tar.gz-C/opt/jvm
6. Create the eclipse desktop shortcut icon.
Cd Desktop
Sudo touch eclipse. desktop
Sudo vim eclipse. desktop
Enter the following content:
Save.
Run: sudo chmod u + x eclipse. desktop to change it to an executable file.
Open eclipse on the desktop, and the system prompts that JDK and JRE are not installed. We have installed them clearly.
Solution: Create a soft link to the JRE path in the/opt/eclipse/folder.
Open Eclipse
By now, eclipse has been fully installed.
Use Eclipse 15.04, Java 8, and WTP in Ubuntu 4.4
Use Eclipse 15.04, Java 8, and WTP in Ubuntu 4.4
Install Java 8 and Eclipse 14.04 on Ubuntu 4.4 LTS
Hadoop Eclipse plug-in compilation and installation 1.2.0
Compile Hadoop plug-in Eclipse
Hadoop 1.2.1 compile Eclipse plug-in
Install JDK and Eclipse for C/C ++ in Ubuntu 13.10 (solving global menu problems)
How to install the latest Eclipse version in Ubuntu 14.04
Eclipse details: click here
Eclipse: click here
This article permanently updates the link address: