This time changed the computer, so need to configure a project development environment again, the process of various, recorded, easy to install again later. At the same time give everyone a reference.
installation of 1.JDK
Download the JDK first, which can be downloaded from Sun's website. Choose 64-bit or 32-bit according to your system. The installation process is next. After installation, the environment variables will be configured.
———————————————————————————————————————————————————
1.1 New variable Name: Java_home variable Value: E:\Java\jdk1.6.0_43 (This is my JDK installation path)
1.2 Edit variable Name: Path at the back add:%java_home%\bin;%java_home%\jre\bin
1.3 New variable Name: CLASSPATH variable value:.; %java_home%\lib;%java_home%\lib\dt.jar;%java_home%\lib\tools.jar
(Note: Do not add ";" when setting the end of a variable)
———————————————————————————————————————————————————
We certainly need to test after the setup is complete. Open "execute"-input "CMD"-Enter: Java on the command line and enter Javac. Enter, input java-version, carriage return, assuming the following three screen, then the JDK configuration is successful, otherwise you need to check the environment variable configuration.
installation of 2.MyEclipse
I'm using a MyEclipse2014. This everyone downloaded after the installation is the same, the middle can choose whether to install 32-bit or 64-bit. After we have finished, we start myeclipse. Set the work path, and you can directly default. We open the Window-->preference input JDK, install it, choose the default JRE for the eclipse to install for itself, not the eclipse comes with.
At this point we are able to build a Java project casually and then write a HelloWorld to test if it is correct.
installation of 3.tomcat8
Tomcat I use the version number is 8. You can go to Apache's official website to download. HTTP://TOMCAT.APACHE.ORG/DOWNLOAD-80.CGI, I was using the installation version. So there is no need to configure no matter what, suppose the person is more lazy best or the next installation version of it. Compress the package version number of the need to configure the environment variables, this asked the degree Niang can, I am more lazy ... Excuse me!
Installation of the version number is also the same, and there is no need to configure environment variables.
4.MyEclipse Configuring Tomcat
It is best not to use MyEclipse's own tomcat when developing a project. So we need to configure our installed Tomcat. Open Window-->preference input tomcat, according to the configuration can be, the other version number of Tomcat corresponding configuration is possible.
5.Maven Installation Configuration5.1 maven Configuration environment Variables
Download maven, is a package: apache-maven-3.2.1, I use the version number is 3.2.1, extracted to a path. Then configure the environment variables:
——————————————————————————————————————————————————
5.1 New variable name: Maven_home variable Value: D:\server\apache-maven-3.2.1 (This is my MAVEN path)
5.2 Edit Variable Name: Path is preceded by:%maven_home%\bin; (Note that there is a ";" in the end.) As a delimiter)
——————————————————————————————————————————————————
After the completion. On the command line, enter: Mvn-version to see if there is a description of the following, assuming that the configuration was successful.
configuration of the 5.2Maven Data Warehouse
Another important configuration in MAVEN is the path configuration of the Data warehouse. We found the MAVEN installation path, entered conf--> open settings.xml, and found the localrepository tag. At this point the gaze is dropped, we lift the gaze, and then configure a path. For example: D:/server/mavenrepository/maven_jar, so that the Maven managed to download the jar package will be under this path.
Of course, we need to build such a folder structure, and then also say settings.xml copy to d:/server/mavenrepository. This is used when integrating with MyEclipse.
integrated maven in 5.3MyEclipse
Configuration in preferences, for example by:
At this point, click File-->new-->other-->myeclipse-->maven4myeclipse-->maven Project, assuming you can see these and prove that the configuration was successful. has been able to build a MAVEN project.
6.SVN Installation
SVN is the code version number manager, first install an SVN manager locally, and then configure the MyEclipse svn plugin to download the plugin and unzip it. Copy directly to the My installation Eclipse folder under Dropins. Feel free to build a project, right-click on Project-->team-->share, and after opening assume you see that SVN is successfully installed on behalf of the plugin.
7. JS Code hint installation (Spket plugin)
Take a look at the previous blog post:http://blog.csdn.net/zhshulin/article/details/25635883
8. Java Code hints
After the above process, the whole project needs almost the same environment to build.
The next trick, for example, is to configure it to replace the code hint with the random letter + when it appears. The code hint (. ABCDEFGHIJKLMNOPQRSTUVWXYZ) appears:
(This address: http://blog.csdn.net/zhshulin/article/details/30779873)
MYECLIPSE+TOMCAT+MAVEN+SVN Project Complete Environment construction