- First download the Eclipse development tool: Http://www.eclipse.org/downloads/, the interface is as follows:
Choose the version of Eclipse Juno (4.2) to enter the interface
Click Downloads to enter the interface
Select Eclipse IDE for Java EE developers to download
You can download 32-bit or 64-bit eclipse.
After the download is ready, unzip it and you can use it. But there is no Java environment on the computer, so I want to download the corresponding JDK, here take 1.7 for example. Enter http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html with the following interface:
Select the version of Windows to download, just like the version of Eclipse you installed, is the 32-bit version of your JDK, and your eclipse will be 32-bit, if 64-bit, 64-bit.
You can download it. It can be installed directly after downloading. After installation, configure the appropriate environment environment variables.
I am installing this in the D:\java file.
- Configuring Environment variables
- Click on the computer, the following interface appears:
- Click System Properties, the interface is as follows;
- Select Advanced System Settings, enter the click environment variable, the interface appears;
Then click New in the system variable, pop up:
The variable value is the installation directory of your JDK, as I am here: D:\Program Files\java\jdk1.7.0_11
, then add the JDK to the path variable, followed by the path:%java_home%\bin
added in Classpath.; %java_home%\lib;%java_home%\lib\tools.jar, if there is no classpath, create a new one in the system variable.
Save it later.
Into the CMD console, the version information for the JDK will appear in the input java–version as follows:
This allows your Java environment to be configured so that Java can be developed.
Environment for current project:
- The current project uses maven + SVN + jetty/tomcat for the deployment project, so we're going to install the appropriate plugin in eclipse, out of SVN, because SVN has the client software. However, personal recommendations are installed directly in eclipse. This makes it easy to manage it directly in eclipse.
- Version information for the relevant plugin:
Maven:maven version of 3.2.5 or 3.3.3
svn:1.6+
jetty:1.8
tomcat:1.6+
Eclipse installs Maven:
Go to Eclipse, click Toolbar help--àeclipse macketplace ...
In Find, enter Maven, search,:
Click Install to enter the installation, you can also download the relevant plugins on the Internet, local installation can also.
installation steps;
- Download the relevant plugin online, then click Help---àinstall new soft in eclipse to see the following interface:
When you click Add, it appears
Enter the corresponding name,name can be defined by their own, then click on the local directory to select the plug-in, then click OK to install automatically.
After the installation is complete, the eclipse restarts, and when the boot is complete, maven appears in Eclipse Window->preferences.
Then go to the MAVEN website for download: http://maven.apache.org/download.cgi, after the download, unzip the ZIP package, then configure MAVEN
Click Add,
Click, select the directory where Maven unzipped, then click Finish. then click OK. After configuring the setting,
Add the setting from the Conf in the Maven decompression file to
After that, it's OK.
SVN and jetty are installed just like maven. There's no more nagging here.
Java Environment Building---(basic)