Official website download
Because this article is installed based on Windows, just open the official website and download it. http://www.eclipse.org/downloads/eclipse-packages/
According to your system version, click to download
Install
There is no need to install it, just download and unzip it to the location you think is appropriate.
Double-click eclipse.exe , and what you see in normal circumstances should be the startup page:
This way, the installation is successful and you can start development work next. Of course, you may make IDE adjustments according to your preferences.
Report an error
If you double-click eclipse.exe , the following pop-up box appears, indicating that there is a problem with the environment.
There are three solutions:
1. Check whether the folder where eclipse is located is in a directory containing Chinese or spaces.
2. Modify eclipse.ini configuration file. Add jdk path
3. The JDK version is incompatible.
After the IDE is installed, we will enter the development of a Spring MVC project.
In addition, let's take a look at the detailed steps for installing eclipse in WIN7
1. First download the latest JDK and install:
2. Pay attention to this installation path. After installation, you need to use this path:
3. Right-click "Computer" on the desktop and select the "Properties" command from the pop-up menu:
4. Click "Advanced System Settings" on the left side of the open "System" dialog box:
5. Switch to the "Advanced" tab in the pop-up dialog box, 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 enter the variable name "java_home" and the value "C:/Program Files/Java/jdk6" (the installation path of JDK) in the pop-up small dialog box, as shown in the above figure;
JAVA_HOME indicates the JDK installation path, which is the path D:/javar/java/jdk1.6.0_25 selected when installing it just now. This path includes lib, bin, jre and other folders (it is best set for this variable, because in the future, you need to follow this variable)
8. Repeat the previous step and add the variable "classpath" with the value ".;%JAVA_HOME%/lib/dt.jar;%JAVA_HOME%/lib/tools.jar" (note that there are two punctuation points in the previous one.; don't miss it)
9. Continue to repeat the previous step, find the existing "Path" change, and add "%JAVA_HOME%/bin;%JAVA_HOME%/jre/bin" to the end of the variable value of the path (note that there is a symbol in front;)
10. Click the "Confirm" button the last way to save the settings;
11. We open the DOS window again, enter the "java -version" command to view the results:
If the above results can occur, it means that the JDK configuration is correct.
12. Then we open the decompressed eclipse:
13. Just execute the eclipse.exe program, as shown in the picture above.