Development Environment Requirements: jdk1.7.0_79, apache-tomcat-7.0.65, apache-maven-3.2.5, Eclipse Mars, Git;
1, JDK, APACHE-TOMCAT Installation: Installation and configuration, environment variable configuration and so on;
2, apache-maven-3.2.5 installation: After downloading, unzip directly to the desired directory, and then replace the file with the same name under ${user}\apache-maven-3.2.5\conf\ with the settings.xml in the attachment, and modify Setting.xml content according to the situation;
3, git install: https://git-for-windows.github.io/Download the latest release version, in the required directory default installation;
A, after the installation is complete, open the Git cmd window and execute the following command ( Note: Testman in the following command should be modified to their own user.name and User.email)
git config--global user.name "Testman"
git config--global user.email "[email protected]"
git installation and configuration complete;
4, after the Eclipse Mars download directly to the required directory:
A, open "windows->preferences->java->installed jres->add", select the JDK directory installed in 1, complete the JDK configuration in eclipse;
B. Open "Windows->preferences->server->runtime environments->add" and select the Tomcat directory installed in 1. Complete the Tomcat configuration in Eclipse (note: Be aware that the Tomcat runtime JDK is configured in the previous step);
c. Open "windows->preferences->maven->User Settings", where global Settings and user Settings are configured as "${in step 2" User}/apache-maven-3.2.5/conf/settings.xml ", then click on the" Update Settings "button to complete the MAVEN configuration in Eclipse (Note: Please check this page for the local If the address in repository is ${user}/apache-maven-3.2.5/repository, if not, please modify the settings.xml file configuration in 2 steps in time);
D, open "Windows->preferences->team->git", in "Cloning repositories" Select the Git directory installed in 3 steps, click Apply;
e, open "Windows->preferences->java->code style->formatter", click Import, Import: Eclipse-java-formatter.xml, click Apply, complete the Code specification import;
two files which need to be clicked: http://down.51cto.com/data/2117659 to download;
The above basic completion of the eclipse configuration, the other plug-ins visible self-installation, immediately open the Kai sen programming journey it!!
This article is from the "Kai Sen Programming Journey" blog, please be sure to keep this source http://4695645.blog.51cto.com/4685645/1712088
Java Basic integrated development environment construction