Building and configuration of Java development environment

Source: Internet
Author: User

1, first download and install JDK,JDK and JRE preferably installed in the same folder in different directory files, after the JDK installation is the environment variable configuration.

JDK Configuration of environment variables:

(1) New variable java_home, value Install for JDK the path;

(2) New variable classpath, value is .; %java_home%\lib;%java_home%\lib\tools.jar.

(3) Modify Path The values are:  %java_home%\bin;%java_home%\jre\bin; 。

2,Tomcat decompression configuration environment can be used.

Tomcat configuration of the environment:

Create a new variable catalina_home with a value of E:\apache-tomcat-7.0.52-windows-x86\apache-tomcat-7.0.52 (that is, the directory where Tomcat is installed).

3. Configure the Tomcat steps in Eclipse as follows:

(1) Download the Tomcat plugin tomcatpluginv321.zip for Eclipse.
: http://www.eclipsetotale.com/tomcatPlugin.html.
After downloading, unzip and place the extracted files in the eclipse's plug directory.

(2) Open eclipse. First, you'll see three more icons. If these three icons do not appear, then select ' Window>customize perspective...>commands ' and tick ' Tomcat ' in ' Available command groups '. Then, click "Window" in the menu bar, then click "Preferences", click Directory Tomcat in the Pop-up dialog box, and select your Tomcat version in the root directory tomcat. Tomcat Home Select the path where you can install Tomcat.

Building and configuration of Java development environment

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.