Installation configuration for JDK and Tomcat under Windows

Source: Internet
Author: User

JDK Full name Java development KIT,JDK is a free open source Java language Development Kit from Sun, now the latest version is 8.0, said the JDK version, some people may have doubts, how to say jdk1.6,jdk1.7, and say jdk6.0 , jdk7.0, what kind of relationship is this? In fact, the earliest version number is called jdk1.1,jdk1.2,jdk1.3,jdk1.4, until jdk1.5 's appearance will change the name to jdk5.0, simple understanding is jdk1.6 corresponding jdk6.0, jdk1.7 corresponding to jdk7.0, both of the names are right, is the problem of personal habits. Say here, JDK so many versions, will choose which kind of version is better? Software is definitely the newer the better, because the software updates will do performance optimization, feature additions, etc., but for our developers to choose the version can be selected according to the project situation, but also to see the version of the update time, although the latest version has advantages, but not necessarily stable, but also have a iteration of a small version. jkd1.6 should be a very stable version, I mainly choose the jdk1.7 version here. : http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html

Tomcat's Chinese name, the name of the male cat, this is more interesting. A core project in the Jakarta Project of the Tomcatapache Software Foundation (Apache Software Foundation) was developed by Apache, Sun, and other companies and individuals. With Sun's involvement and support, the latest servlet and JSP specifications are always reflected in Tomcat, and Tomcat 5 supports the latest servlet 2.4 and JSP 2.0 specifications. Because of the advanced Tomcat technology, stable performance, and free, so deeply loved by Java enthusiasts and have been recognized by some software developers, become the most popular Web application server. Tomcat is currently the latest version of 8.0. Tomcat server is a free open source Web application server, belongs to the lightweight application server, in small and medium-sized systems and concurrent access users are not widely used, is the first choice to develop and debug JSP programs. The version I chose for Tomcat here is 7.0,:http://tomcat.apache.org/download-70.cgi

After introducing two software, let's focus on installing and configuring JDK and Tomcat under Windows systems.

First, you need to install the JDK before you install Tomcat, By getting the Jdk-7u60-windows-x64.exe file, I am the 62-bit operating system, so choose the X64 version, get to the installation package double-click, because I am the installation completed before the writing of this record article, here, there will be two times during the installation process can manually select the installation path, once is the JDK installation directory, I is set to D:\webEve\Java\jdk1.7.0_60, and the other is the JRE (Java runntime envelement), the path is set to D:\WEBEVE\JAVA\JRE7,JDK simple understanding is the development environment, The JRE is understood as a production environment.

Second, install Tomcat, under Windows Tomcat has the. exe and. zip, which do not need to be installed directly decompression can be, I choose Apache-tomcat-7.0.54.exe, double-click to install, go to this page will have 3 port number:

Server Shutdown Port:tomcat receives the port of the Shutdown command;

http/1.1 Connector Port:tomcat listens for ports that receive client HTTP requests;

ajp/1.3 Connector Port:tomcat receives a request forwarded by another server via port 8009;

This information is documented in the Tomcat configuration file server.xml . During the installation of Tomcat, it will automatically get the path of the JRE, until the next step is to indicate that the installation is complete

Access to http://localhost:8080, showing that the Tomcat installation was successful

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.