Install Eclipse in Ubuntu 16.04

Source: Internet
Author: User

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:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.