How to configure the Java Server page Runtime environment

Source: Internet
Author: User
Tags zip port number tomcat
Install JSP under Server NT

Windows NT 4.0,windows professional,windows Server
Jdk1_2_2-001-win.exe
Tomcat.zip (3.0)

First, software download
Jdk
Http://java.sun.com/products/jdk/1.2/
Tomcat
Http://jakarta.apache.org/builds/tomcat/release/v3.0/tomcat.zip

Second, the Software installation
(i) JDK
1, double-click the Jdk1_2_2-001-win.exe file for installation, install using the default configuration, the default installation directory for JDK is c:jdk1.2.
The default installation directory for 2,JRE is C:Program FilesJavaSoftJRE1.2;
3, restart the computer;
4, update the following environment variables: the c:jdk1.2.2in directory appended to the path, C:jdk1.2.2lib Ools.jar; C:jdk1.2.2libdt.jar added to the classpath.
Update method: Control Panel-> System-> Environment-> system variable;
(ii) Tomcat
1, with WinZip, such as decompression software to extract the Tomcat.zip into a directory, I unzipped it to C:, it will automatically create Tomcat subdirectory, so in C disk on a more directory c:/tomcat, I use $tomcat logo; 3, To modify the port number of Tomcat running, note that Tomcat has a standalone HTTP server, it must use a port number that has not yet been used, I have not yet occupied 8081, I use $tomcat_port logo, assigned to Tomcat:1 to open $tomcat/ SERVER.XML;2) Modify Contextmanager:4, double-click Startup.bat under $tomcat directory to start tomcat;5, enter http://localhost on the browser: $TOMCAT _port/, The ability to see Tomcat Version 3.0 means 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.