Windows installation configuration Eclipse detailed tutorial _java

Source: Internet
Author: User

Website download

Because this article is based on Windows installation, so directly open the official website download. http://www.eclipse.org/downloads/eclipse-packages/
According to your own system version, click to download

Installation

Do not need to install, download extract to the location you think is appropriate.

Double eclipse.exe -click, the normal situation you should see is the startup page:

The installation is successful, and the next step is to enter the development effort. Of course, you may adjust the IDE to your liking.

An error, an error.

If you double-click eclipse.exe the pop-up box below, there is a problem with the environment.

There are three kinds of solutions:

1. See if the folder where Eclipse is located is in a directory that contains Chinese or white space.
2. Modify the eclipse.ini configuration file. adding JDK paths

3.JDK version is not compatible.

The IDE is installed, and then it's developed into a Spring MVC project.

In addition, let's look at the detailed steps for installing eclipse under WIN7

1, first download the latest JDK, and install:

2, note this installation path, installed after you want to use this path:

3, right click on the desktop computer, from the pop-up menu, select Properties command:

4. Click Advanced System settings on the left side of the Open System dialog box:


5, in the pop-up dialog box to switch to the Advanced tab, and then click the Environment Variables button:

6. In the Pop-up Environment Variables dialog box, click the New button under System variables:

7, then pop up the "new System Change" Small dialog box to enter the variable name "Java_home" and the value "C:\Program files\java\jdk6" (JDK installation path), as shown above;

Java_home indicates the JDK installation path, which is the path you chose when you just installed D:\JAVAR\JAVA\JDK1.6.0_25, which includes folders such as LIB,BIN,JRE (this variable is best set because you run Tomcat later, Eclipse and so on are required by * this variable)

8, repeat the previous step, add the variable "Classpath", the value is ".; %java_home%\lib\dt.jar;%java_home%\lib\tools.jar "(Note that there are two punctuation marks ahead.; Don't omit it)

9, continue to repeat the previous step, to find the existing "path" change, at the end of the variable value of path add "%java_home%\bin;%java_home%\jre\bin" (note that there is a symbol in front); )

10, the last way to click the "Confirm" button to save settings;

11, we open the DOS window, enter the "java-version" command to view the results:

If the above results are available, the JDK is configured correctly.

12, and then we open the extracted eclipse:

13, the implementation of which eclipse.exe procedures can be, as shown above.

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.