How to install Java and Eclipse on Linux

Source: Internet
Author: User

First of all, download from the website of Java.

I Download ' jdk-8u102-linux-i586.tar.gz '

Unzip it to the Specifical derictory.

With the COMMAND:TAR-ZXVF jdk-8u102-linux-i586.tar.gz-c/home/sonn/workspace/softwares/sonn_java/

Then you just need to set the SYS path.with the commands:

sudo gedit/etc/environment

and the command ' source/etc/environment ' to make it effective.

sudo gedit/etc/profile:

Finally reboot the PC. And you can see if it has become effective.

Then you can install Eclipse, download and Unzip.and go to the Directory Run command the file ' Eclipse ' to startup.

But ... ..... ..... ..... ..... ..... ....., ... and ... and ..... ......., ..., ..., ..., ......

That ' s really disgusting problem.

At last I found it is because I installed the JDK which was for 32-bit Linux.

Reinstall JDK with the right edition.

O.K.

Then I CAN DEVELOP JAVA on MY UBUNTU.

ENJOY IT.

How to install Java and Eclipse on Linux

Related Article

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.