Build a java integrated development environment

Source: Internet
Author: User

Build a java integrated development environment
Development Environment requirements: jdk1.7.0 _ 79, apache-tomcat-7.0.65, apache-maven-3.2.5, Eclipse Mars, Git; 1, jdk, apache-tomcat installation: installation and configuration, environment variable configuration, etc.; 2, apache-maven-3.2.5 installation: Download, directly extract to the desired directory, and then use the settings in the attachment. xml Replace the file with the same name under $ {user} \ apache-maven-3.2.5 \ conf \ and modify setting as needed. xml content; 3. Install Git: https://git-for-windows.github.io/download the latest release.pdf and install it in the latest directory. a. After the installation is complete, open the git cmd window and execute the following command (Note: Modify testman in the following command to user. name and user. email) git config -- global user. nam E "testman" git config -- global user. email "[email protected]" Git installation and configuration are complete. 4. Download Eclipse Mars and decompress it to the desired directory: a. Open "windows-> Preferences-> Java-> Installed JREs-> Add" and select the jdk directory Installed in 1 to complete jdk configuration in Eclipse; b. Open "windows-> Preferences-> Server-> Runtime Environments-> Add", select the tomcat directory installed in 1, and complete tomcat configuration in Eclipse (note: note that you must select the jdk configured in the previous step when tomcat is running. c. Open "windows-> Preferences-> Maven-> User Settings". The Global Settings and User Settings are the same. For $ {user}/apache-maven-3.2.5/conf/settings in step 2. xml, and then click the Update Settings button to complete Maven configuration in Eclipse (Note: check on this page whether the address in the Local Repository is $ {user}/apache-maven-3.2.5/repository, if not, modify settings in step 2. xml file configuration). d. Open "windows-> Preferences-> Team-> Git", select the git directory installed in step 3 in "Cloning repositories", and click "Apply; e. Open "windows-> Preferences-> Java-> Code Style-> Formatter", click import, import: eclipse-java-Formatter.xml, click Apply, complete the Code specification import; The above has basically completed the Eclipse configuration. Other plug-ins can be installed on their own as needed. Start the kensen programming journey now!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.