Eclipse Installation Environment variable configuration

Source: Internet
Author: User
Tags windows x64 windows x86


1

Download eclipse, suggest the official website download (completely free), go to the official website select "Eclipse IDE for Java EE developers", choose 32-bit or 64-bit 2 according to your computer situation

Click "Download" to skip to the next page, and then click here to download it directly. 3

Download down is a compressed package, directly decompression, no installation. However, Eclipse is not open at this point, and the next step is to install the JDK setup environment. END JDK Installation and environment building 1

JDK or recommended website download, select the bottom "Windows X86" (32-bit) or "Windows X64" (64-bit) Download 2

The final step is to build the environment, right-click My Computer, properties, advanced system settings, advanced, environment variables 3

Select the new system variable below, in the pop-up box,

Fill in the variable name: java_home

Variable value fill in the specific installation path of the JDK (e.g. D:\Java\jdk1.8.0_60)

Also new

Variable name CLASSPATH

The value of the variable.; %java_home%\lib\dt.jar;%java_home%\lib\tools.jar; (Note that there is a point at the front)

Edit Path

Variable name: Path

Variable Value:%java_home%\bin (click Edit to add this value) 4

Verify that the environment is configured successfully, Win+r run the cmd input java-version (note that there are spaces between Java and-version ... ) 5

Show version number configure successful END to run Eclipse successfully

Try running eclipse, we try the simplest "HelloWorld" to run successfully.

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.