Configure Tomcat and Jdk in two steps in JSP language development

Source: Internet
Author: User
Tags apache tomcat

Bkjia.com documentTomcat is another outstanding JSP server developed on the basis of SUN's JSWDK. It not only supports Servlet, but also provides Web server functions. As an open-source software, Tomcat has its own unique advantages. It can work with most mainstream servers and has a high operating efficiency.

JDK is

Both Tomcat and Jdk are free of charge and can be downloaded from the official website.

1. Install JDK
You can download jdk1.3.0133 at http://java.sun.com/j2se/downloads.html. Download and install it in the C: jdk directory. (My version is 1.6)

The installation path should be lighter. For example, directly install it in Program Files (I am ).
Right-click my computer. Attribute. Advanced. Environment variable. System variable. Create a variable.
PATH = C: \ Program Files \ jdk1.6.0 _ 10 \ bin
CLASSPATH =.; C: \ Program Files \ jdk1.6.0 _ 10 \ LIB; C: \ Program Files \ jdk1.6.0 _ 10 \ demo
OK. Save.
Enter the doscommand Prompt window (startRunEnter cmd)
Enter javacPress enter.

If a parameter exists, the configuration is successful.

Ii. install Tomcat
You can go to ingress first. (I Use 5.0)

After installation, set the new variable CATALINA_HOME = C: \ Progrom Files \ Tomcat 5.0 (this is the default path of Tomact and a path is saved)
After installationStart all programs Apache Tomcat 5.0Open the configuration program, press the start key, and run it. Open your browser and enter http: // localhost: 8080
We are waiting for a long time for the kitten to appear. This indicates that tomcat has been configured successfully. Install jdk first.

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.