Java Environment Preparation

Source: Internet
Author: User

The computer is reloading the system, so you need to reconfigure the environment Variables.

First Tools required: jak, eclipse, maven, Tomcat

First configure the Java runtime Environment.

The path of the new variable JAVA_HOME:JDK in the system environment variable, path:%java_home%\bin;,classpath:.; %java_home%\bin;%java_home%\bin\tools.jar;

After the configuration is complete, the cmd command is java-version and the version information indicates that the configuration was Successful.

Eclipse is now ready to Start.

The next configuration Maven,maven is based on the success of the Java environment variable Configuration. The path of the new environment variable maven_home:maven, path append:%maven_home%\bin;

After the configuration is complete, the cmd command is mvn-v and the version information indicates that the configuration was Successful.

Here also to say, is in Maven conf under the setting file, it is best to copy one in other locations, in eclipse in the global configuration of MAVEN or configure itself as this file, the storage address of this file can also be changed to where you want to store, I downloaded the latest maven, his storage repository for setting file current path plus Path/to/mvn/reop

The configuration of Tomcat does not have to be said Much.

Java Environment Preparation

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.