Java environment installation and Eclipse installation

Source: Internet
Author: User

1.JDK Download Installation

2.Eclipse Download Installation

Problems encountered:

There are two possible causes of the problem: 1) No environment variables configured

2) The JDK and Eclipse installation versions are inconsistent, both 64-bit or 32-bit.

I have the reason for the error: The first time occurs because the version is inconsistent, the second is because the environment variable is not configured

Tip: View Java version bits: windows+r----> Input cmd, enter-----> enter java-version------> results:

Represents the Jdk64 bit, the version number of Eclipse can be seen from the compressed package X64 that is 64

When the JDK is 32: this is usually the case

Environment variable configuration:

1) on the desktop computer point right-click Properties, or Start menu computer right click on the properties, left point advanced system Settings , click the environment variable below, a third diagram appears, and then click the arrow refers to the "new"

2) Popup new window, variable named java_home, variable value to fill the final path of JDK installation, I installed the address is D:\Eclipse\jdk, so fill D:\Eclipse\jdk, Click OK to finish,

3) Next set the path variable, find the path variable, click Edit (or double-click), pop up the third step of the box, the fourth step to add the value of the variable: at the end of the original value of the English language; After that, add the %java_home%\bin;%java_home %\jre\bin, click OK to finish,

4) New CLASSPATH variable, variable name CLASSPATH, variable value %java_home%\lib\dt.jar;%java_home%\lib\tools.jar, End With no spaces, click OK to complete the environment variable configuration, click OK to close the Environment variable configuration window.

5) At this point, the environment variable configuration is complete.

Note: Installation is not required after eclipse is downloaded and can be run directly after the environment variable configuration is complete

JDK 64-bit version of the installation package and Eclipse 64-bit installation package:

Link: Http://pan.baidu.com/s/1mh6dzRE Password: scj4

Java environment installation and Eclipse installation

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.