Preface: Just graduated, work outside the blog is conducive to the improvement of technology, but also to help people, the next will be serious and really write every blog. I hope you have a lot of support. Don't say much nonsense, start right now. This is an environment-building blog.
Jdk+eclipse+svn+maven+mysql+tomcat7.0+sublime installation package and jar plugin
Configuration Management tool-svn http://download.csdn.net/detail/u013142781/9355417
tomcatpluginv331 http://download.csdn.net/detail/u013142781/9355409
Sublime_Text_2.0.2 http ://download.csdn.net/detail/u013142781/9355403
site-1.8.22 http://download.csdn.net/detail/ u013142781/9355395
navicatformysql http://download.csdn.net/detail/u013142781/9355385
apache-tomcat-7.0.59-windows-x64 http://download.csdn.net/detail/u013142781/9355377
apache-maven-3.2.1 http://download.csdn.net/detail/u013142781/9355367
eclipse-jee-luna-sr2-win32-x86_64 http://download.csdn.net/detail/aqtata/8476729
mysql-installer-community-5.6.22.0 http://download.csdn.net/detail/tan3739/8855049
jdk-7u17-windows-x64 http://download.csdn.net/detail/dingding5060/5207588
Eclipse-maven3-plugin http://download.csdn.net/detail/u013142781/9355661
The detailed process of setting up the environment is as follows ( note that all installation paths are in English and do not appear in Chinese ):
1. Installation of JDK and environment variable configuration:
1.1, first download the installation package:jdk-7u17-windows-x64 http://download.csdn.net/detail/dingding5060/5207588, unzip the installation, All click Next is also possible, but Bo Master prefers to put all the development environment software tools in the same folder inside, each like it.
Install JDK two installation prompts appear during installation of the installation directory. The first time is to install the JDK, and the second is to install the JRE. It is recommended that all two are installed in a different folder in the same Java folder. As shown, you can:
1.2. Next is the JDK environment variable configuration : Configure environment variables after installing JDK computer → properties → advanced system settings → advanced → environment variables → new environment variable. Variable name: java_home, variable value fill in the JDK installation directory (for example, E:\Java\jdk1.7.0):
1.3, look for Path variable → edit , at the end of the variable value input%java_home%\bin;%java_home%\jre\bin; (Note that the original path of the variable value at the end of there is no; number, if not, first enter; number and then enter the above code)
1.4. New CLASSPATH variable
Variable values are filled in.; %java_home%\lib;%java_home%\lib\tools.jar ( Note that there is a point in the front )
This completes the JDK installation configuration.
1.5, check whether the configuration is successfully run cmd input java-version (there are spaces between Java and-version)
If the version information is displayed, the installation and configuration are successful.
2. Eclipse Installation
2.1, download installation : eclipse-jee-luna-sr2-win32-x86_64http://download.csdn.net/detail/aqtata/8476729, decompression can be used.
2.2, some can improve the efficiency of the settings:
"1" Add auto-prompt completion: Assist, Auto-activation, Editor, Java, Window, preferences After adding the first letter that we need to automatically prompt, such as ". Abcedfghijklmnopqrstuvwxyz", auto-activation delay is set to 100 the following prompt response is faster.
"2" Eclipse automatically generates feature settings such as author, date comment, and so on: open Windows->preferences->java->code style->code Templates, click Comments in the right window , you can see that there are many options that we can edit for this comment information template.
Will "3" find out that Eclipse's editor font is too small? You can click Window, preferences, and then set it up:
"4" The following are some of the shortcut keys for Eclipse:
Ctrl + F11 The last Way
Ctrl + Shift +/Add comment/**/
Ctrl + Shift + \ Uncomment/**/
Ctrl +/Plus or remove line comments
Ctrl + D Delete when moving forward
Ctrl + M to maximize the window, toggle is it
CTRL + K, CTRL + Shift + K down Find, search up
Ctrl + Shift + R to find all files, you can use wildcard characters
Ctrl + Shift + G finds code that references a class, method, property
Ctrl + Shift + O quick Generate import
Ctrl + Shift + F formatting code
Ctrl + L navigates to a row in the current file
Ctrl + Shift + V add try Catch box
Ctrl + Shift +. Add get, Set method
Ctrl + Alt +↓ Copy the current line to the next line
Ctrl + Alt +↑ Copy the current line to the previous row
Ctrl+shift+x to uppercase
Ctrl+shift+y converted to lowercase
ALT +/Complement class, method, property name
Alt + Shift + W Quick Position Browser View location
Alt +← Fallback History
Alt +→ Forward History
Alt + SHITF + J automatically generate annotations
At this point, the eclipse configuration is complete.
3. SVN install and configure to eclipse
3.1, SVN installation package download : Configuration management tool-SVN http://download.csdn.net/detail/u013142781/9355417, there are 32-bit and 64-bit installation package, choose the appropriate installation.
3.2, SVN configuration to eclipse , download site-1.8.22http://download.csdn.net/detail/u013142781/9355395, unzip, Place the entire site-1.8.22 folder under the Dropins folder under the Eclipse directory. By restarting Eclipse, you can use SVN's functionality.
4. MAVEN Installation and Configuration
4.1, download maven installation package : apache-maven-3.2.1http://download.csdn.net/detail/u013142781/9355367, decompression can be used.
4.2, MAVEN environment variable configuration , configuration is similar to the JDK. Create a new environment variable maven_home (the root of MAVEN), and then add%maven_home%\bin to the PATH environment variable.
4.3. Set the Setting.xml file and configure the local repository. Apache-maven-3.2.1\conf has a setting.xml file, open, Localrepository value set to the path of your local repository. (the blogger created a repository folder as the local repository in the apache-maven-3.2.1 root directory.) Such as
4.4, MAVEN configuration to eclipse , download plugin eclipse-maven3-pluginhttp://download.csdn.net/detail/u013142781/9355661, After extracting the corresponding features and plugins the contents of the two folders into eclipse in the same folder can be, and then restart Eclipse, when you open the window→preferences ... , you should be able to see a maven option in a list of options:
Then, Windows–>prefrences–>installations–>add. Installation name Select the root of Maven and then always press OK.
Then configure the Setting.xml file:
The MAVEN installation configuration is complete!
5. mysql Installation and configuration
5.1, MySQL database installation , mysql-installer-community-5.6.22.0http://download.csdn.net/detail/tan3739/ 8855049, remember that the installation process must be configured with user name and password, otherwise, connection to the database may not be connected. Some are not password user names are root. When you install the user name and password to set the Root/root can be.
5.2, install MySQL database client , navicatformysqlhttp://download.csdn.net/detail/u013142781/9355385. Can be used with decompression. Open the client: Click Connect, then fill in the information such as:
The password blogger is also rooted here (see what you configure when you install it). Then click on Test Connection, if the information is correct, it will prompt the test success. MySQL configuration is complete.
6. Tomcat installation and configuration to eclipse
6.1. Tomcat Installation:apache-tomcat-7.0.59-windows-x64http://download.csdn.net/detail/u013142781/ 9355377, download the installation package installation, where Bo main computer is 64-bit, and therefore provides a 64-bit installation package. If you need 32-bit, you can download http://tomcat.apache.org/on the website.
6.2. Tomcat configuration on Eclipse , tomcatpluginv331http://download.csdn.net/detail/u013142781/9355409, download jar plugin package. Unzip the jar package inside the Eclipse's plugins folder. After you restart Eclipse, you'll see the three icons in the example:
Then Window–>prefernces–>service–>runtime Environment–>add, according to the hint to add tomcat7 on it. At this point, the Tomcat configuration is complete
7, the installation of sublime
7.1, Sublime download installation, sublime_text_2.0.2http://download.csdn.net/detail/u013142781/9355403. Sublime text is a code editor (Sublime text 2 is a paid software, but can be tried indefinitely) and is also an advanced text editor for HTML and prose. Sublime text was developed by the programmer Jon Skinner in January 2008 and was originally designed as a vim with extensive functionality. It is inconvenient to use txt. Sublime There are many features, bloggers here will not introduce each one. It is left to the reader to dig slowly.
Environment Configuration Blog finished, thank you very much patience to read ~ ~ ~
Transferred from: http://blog.csdn.net/u013142781/article/details/50300233
(RPM) Java My efficient programming environment setup