Java Development Environment Building (Jdk,tomcat,maven)

Source: Internet
Author: User

Install and test if the JDK is installed successfully

Install the JDK can be installed version (EXE) or decompression version of (Zip), if you use the installation version of the environment variables do not have to configure

Take the decompression version as an example

1. Go to Oracle's website to download the JDK version, with the installation version and release can be downloaded

2. Place the JDK in the directory you want to install and unzip

3. Then go to the environment variable (right "My Computer"--Properties-Advanced system settings-environment variables-system variables-new)

4. Configure the following environment variables

Java_home: Copy to JDK directory, for example: C:\Program files\java\jdk1.7.0_25

Path: If the variable already exists, just modify it, and add the following variable:%java_home%\bin;%java_home%\jre\bin (separated by semicolons in English)

Classpath:%java_home%\lib\dt.jar;%java_home%\lib\tools.jar

5. Verify that the installation is successful, open the Command line tool (WIN+R), enter java-version;

The 64-bit JDK will have a 64-bit display.

Install Tomcat and test for installation success

Download Tomcat on 1.apace website

2. Unzip the directory you want to put in.

3. Configuring System Environment variables

Catalina_home: (Copy to Tomcat directory)

Catalina_base: (Copy to Tomcat directory)

MAVEN Installation Level Testing

Online to find a blog, write better: https://my.oschina.net/huangyong/blog/194583

Java Development Environment Building (Jdk,tomcat,maven)

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.