Tomcat, JDK, Eclipse, ant installation, Setup and FAQs

Source: Internet
Author: User

1.tomcat

Installation:

Decompression version: In the official download tomcat version, put in the directory you want to install the decompression version can be installed: in the official download Tomcat installation version, follow the instructions step, very simple           Note:  tomcat6.0 above can no longer rely on the JDK to run, directly using the JRE, but tomcat5.5 below, it is necessary to install the JDK. This is mainly due to the fact that tomcat5.5 and the following versions mainly rely on the JDK to compile the JSP file to generate class. But Tomcat6.0 uses Eclipse's JDT technology and therefore no longer relies on the JDK to run.

2.JDK   

Install: http:///zhinan.sogou.com/guide/detail/?id=1610006590  Select the JDK download that needs to be version --"Don't change the path inside, Direct point next, to the end of the environment variable configuration: 1. Set Environment Variables 3: java_home, Classpath,path 2. Right-click My Computer, go to Advanced options, click Environment variables, enter environment variable Settings dialog box First determine if there are 3 environment variables, click New to add/modify system variables.

3. New Java_home variable: C:\Program files\java\jdk1.6.0_43 (this value is the location where the JDK is installed)

     4. Create a new classpath variable with a value of:.; %java_home%\lib;%java_home%\lib\tools.jar

5. Modify the path variable to append a value at the end;%java_home%\bin;%java_home%\jre\bin

3.ANT

  

Installation:     http://jingyan.baidu.com/article/e2284b2b45d193e2e6118dc6.html Configuration environment variables:    Set ANT environment variable in window:    ant_home    D:/apache-ant-1.9.0    path             D:/apache-ant-1.9.0/bin    Classpath      D:/apache-ant-1.9.0/libant authentication: Win+r  --  cmd    Enter the following command: Ant    If the following appears, Description installation succeeded:    Buildfile:build.xml does not exist!     Build failed    shows that the ant installation was successful! Because ant runs the Build.xml file by default, this file needs to be created by US    . View version: Ant  -versionbut if ' ant ' is not an internal or external command, it is not a running program or a batch file stating that the installation failed: (You can repeat the preceding steps until the installation is successful.) )

Tomcat, JDK, Eclipse, ant installation, Setup and FAQs

Related Article

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.