Record the entire development environment to build, easy to install again later, at the same time to give you a reference.
1. JDK Installation
First download the JDK, this from the Sun Company's official website can be downloaded, according to their own system to choose 64-bit or 32-bit, the installation process all the way next. Configuration environment variables are required for installation to complete.
1.1. New variable Name: Java_home variable Value: D:\java\jdk1.7.0_80 (This is my JDK installation path)
1.2, edit the variable name: Path in the following add:%java_home%\bin;%java_home%\jre\bin
1.3, new variable name: CLASSPATH variable value:.; %java_home%\lib;%java_home%\lib\tools.jar
After the setup is complete we need to test, open "run"--input "CMD"--on the command line, enter: java,javac,java-version; test the JDK configuration for success
2. Installation of development tools (MyEclipse installation)
This everyone download after the end of the installation, completed after we start MyEclipse, set up a good working path, you can also directly default. We open the Window-->preference input JDK and choose to install the JDK without the tools.
At this point we can just resume a Java project, after people write HelloWorld test is correct.
3, the installation of TOMCAT8
Tomcat, you can go to Apache's official website to download, http://tomcat.apache.org/download-80.cgi, can download the installation version, the installation version does not need to configure anything, do not need to configure environment variables
4. Development tool Configuration Tomcat
When developing a project, it is best not to use MyEclipse's own tomcat, so we need to configure our installed Tomcat. Open the Window-->preference--> input tomcat, follow the configuration, and the other versions of Tomcat correspond to the configuration.
5. MAVEN Installation Configuration
5.1. MAVEN Configuration Environment variables
Download maven, is a package: apache-maven-3.2.1, extract to a path, and then configure the environment variables;
New environment variable name: Maven_home variable Value: D:\server\apache-maven-3.2.1
Edit variable Name: Path at the front Plus:%maven_home%\bin;
When finished, enter at the command line: Mvn-version to see if there are any of the following, if it indicates a successful configuration
5.2. Configuration of MAVEN Data Warehouse
Maven An important configuration is the path configuration of the Data Warehouse, we find MAVEN installation path, enter conf--> Open Settings.xml, find the localrepository tag, it is commented out, we dismiss the comment, and then configure a path, for example: D:\yongyouEnergy\saleElectricity\iuap-3.0\ Devtool\repository\maven\maven3.2.2\local\repo, so that after Maven managed to download the jar package will be under this path, settings.xml path: D:\yongyouEnergy\ Saleelectricity\iuap-3.0\devtool\repository\maven\maven3.2.2\conf\settings.xml
5.3. Integration of MAVEN in development tools
The same configuration in preferences
Click File-->new-->other-->myeclipse-->maven4myeclopse-->maven Project, if you can see these, the configuration is successful
6. Git installation
Git is the code versioning manager, first install a Git manager locally, and then configure the eclipse git plugin
Myeclipse+tomcat+maven+git Project Complete Environment construction