This time changed the computer, so need to reconfigure a project development environment, the process of various, recorded, easy to install again later, at the same time to give you a reference.
installation of 1.JDK
First download the JDK, this from the Sun Company's official website can be downloaded, according to their own system choose 64 or 32 bit, the installation process is next all the way to the end. After the installation is complete, 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)
———————————————————————————————————————————————————
After the setup is done, of course we need to test, open "run"--input "CMD"--on the command line input: Java, and then enter; input Javac, enter, input java-version, return, if the following three screen, then the JDK configuration is successful, Otherwise, you need to check the configuration of the environment variables.
installation of 2.MyEclipse
I use is MyEclipse2014, this everyone downloaded after the installation of the end, the middle can choose to install 32 or 64 bit. When we are done, we start the myeclipse, set the working path, or we 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 can build a Java project casually and then write a HelloWorld to test it correctly.
installation of 3.tomcat8
Tomcat I use the version is 8, you can go to the official website of Apache to download, http://tomcat.apache.org/download-80.cgi, I am using the installation version, so do not need to configure anything, if people more lazy may be the next installation version of it. Compressed package version of the need to configure the environment variables, this asked the degree Niang can, I am more lazy ... Excuse me!
The installation of the installed version is also a one-way process, and no environment variables need to be configured.
4.MyEclipse Configuring 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 Configuration5.1 maven Configuration environment Variables
Download maven, is a package: apache-maven-3.2.1, I use the version is 3.2.1, extract to a path, and then configure the environment variables:
——————————————————————————————————————————————————
5.1 New variable name: Maven 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)
——————————————————————————————————————————————————
When you are finished, enter: mvn-version in the command line to see if there are any of the following, if any, to indicate a successful configuration.
configuration of the 5.2Maven Data Warehouse
Another important configuration in MAVEN is the path configuration of the Data Warehouse, where we find Maven's installation path and enter conf--> Open Settings.xml, find the localrepository tag, this time is commented out, we dismiss the comment, and then configure a path, for example: D:/server/mavenrepository/maven_jar, In this way, the jar packages that Maven manages to download will be under this path. Of course we need to build such a directory structure, and then also say settings.xml copy to D:/server/mavenrepository, this will be used in integration with MyEclipse.
integrated maven in 5.3MyEclipse
Configuration in preferences, such as:
At this point, click File-->new-->other-->myeclipse-->maven4myeclipse-->maven Project, if you can see these, prove that the configuration was successful, MAVEN projects can already be established.
6.SVN Installation
SVN is the code version manager, first install an SVN manager locally, and then configure the MyEclipse SVN plug-in, download the plugin to unzip, directly copied to the MyEclipse installation directory dropins. Create a project at any one, right-click the project-->team-->share, and open it if you see SVN on behalf of the plugin installed successfully.
7. JS Code hint installation (Spket plugin)
See previous blog post:http://blog.csdn.net/zhshulin/article/details/25635883
8. Java Code hints
After the above process, the whole project needs the environment to be almost completed. The next trick, such as configuring it, is to change the code hint to any letter + when it appears. The code hint (. ABCDEFGHIJKLMNOPQRSTUVWXYZ) appears:
(This address: http://blog.csdn.net/zhshulin/article/details/30779873)