Software 152 PO Double
First, download
1.jdk1.8.zip (above 1.7 is the best);
2.eclipse-jee-mars-2.zip;
3.maven 3.3.9.zip;
4.maven warehouse (. m2 file)
Second, installation (decompression)
1. Select a work disk, such as E: disk, to establish a directory Jee (here according to their own wishes to establish a directory, I take the establishment of JEE as an example;
2. Put the compressed package into the JEE directory and unzip it, the JDK root directory is e:\jee\jdk1.8;eclipse root directory is e:\jee\eclipse,eclipse, the working directory is e:\jee\workspace;maven root directory is e:\ Jee\maven-3.3.9,maven Warehouse root directory is E:\jee\.m2;
Third, set
1. Set the Eclipse configuration file Eclipse.ini, modify the virtual machine path, add before-vmargs:-VM E:\jee\jdk1.7\bin\javaw.exe;
2. Start Eclipse, set maven to search for "maven" in the menu window-prefrences, open the "Installations" option to set it up, click Add just now maven storage path:
3. Set the MAVEN local warehouse path
Maven local Warehouse By default under C:\Users\ username \.m2, C disk space is usually very tense and needs to be moved to another disk, the steps are as follows:
1) Modify the Setting.xml file in the Conf folder under the MAVEN root directory (E:\jee\maven-3.3.9) and add a new line:<localrepository>e:\jee\.m2\repository< /localrepository>
2) Modify the MAVEN configuration in eclipse
In the menu window--prefrences, open "Maven--user settings", such as:
The simple configuration of MAVEN is accomplished by clicking the "Browse ..." button on the "User settings" setting, selecting the Maven profile, and clicking the "Reindex" button below to update the index.
Java EE maven Simple environment setup