J2SDK and APHCE Tomcat installation notes in Win2k

xiaoxiao2021-03-06  62

To run JSP files on Win2k, you must have J2SDK and a web server that can run JSP. Here is the steps and considerations of J2SDK and Apache Tomcat on Win2k.

1, install J2SDK

First

Http://java.sun.com download the latest J2SDKFOR Windows version;

Then click the installer to start installing J2SDK, install the program when installing

C: /J2SDK1.4.2;

After the installation is complete, you can see the "Java Web Start" word in the Start Menu -> Program.

2, install Apache Tomcat 5.0

First download the latest for Windows version of Apache Tomcat on the Internet;

Then click the installer to install the program when installing.

Under C: / Tomcat, and select the J2SDK directory as

C: /J2SDK1.4.2;

After the installation is complete, you can see "Apache Tomcat 5.0" in the Start Menu -> Program, which can start Apache Tomcat 5.0.

3, system settings

In "My Computer", right-click the properties, select "Advanced -> Environment Variable" in the Properties tab to set the system variable.

The system variable is set as follows:

Variable Name: Path Volume:; C: /J2SDK1.4.2/bin // Add after the existing variable

Variable name: java_home variable: c: /j2sdk1.4.2 // New

Variable Name: Catalian_Home Variable: C: / Tomcat // New

Variable Name: ClassPath Variable: C: /J2SDK1.4.2/lib // New

The setting is complete, if the lower Tomcat version needs to restart your computer.

4, test

This is completed, click "Start -> Program -> Apache Tomcat 5.0-> Start Tomcat" launched Tomcat;

Then open the browser in the address bar "

http:// localhost: 8080 "or"

http://127.0.0.1:8080 "If there is a small kitten and JSP sample page, the installation is successful!

转载请注明原文地址:https://www.9cbs.com/read-110629.html

New Post(0)