Js|window System Environment:
1, operating system: Windows 2000
This example uses the software to download the address:
1, J2SDK1_3_0-WIN.EXE[29.4MB]
Http://java.sun.com/products/jdk/1.2/
2, JAKARTA-TOMCAT-4.0-B3.ZIP[5.0MB]
http://jakarta.apache.org/builds/tomcat/release/v4.0/
Installation method:
First, install the JDK
The first step is to install J2sdk1_3_0-win.exe using the default configuration
The default installation directory for JDK is C:\jdk1.3,
The default installation directory for JRE is C:\Program files\javasoft\jre\1.3;
Step two, update the environment variables
Start-> Setup-> Control Panel-> System-> Advanced-> Environment variable-> System variable
New Classpath:c:\jdk1.3\lib\tools.jar;c:\jdk1.3\lib\dt.jar;
New Path:c:\jdk1.3;c:\jdk1.3\bin;
Second, the installation of Tomcat
The first step is to extract the Jakarta-tomcat-4.0-b3.zip into the C:\jakarta-tomcat directory
The second step, enter the C:\jakarta-tomca\bin directory, find the Startup.bat batch file, add the following two lines:
Start Set Tomcat_home=c:\jakarta-tomcat
Set java_home=c:\jdk1.3
Step three, double-click Startup.bat to start the Tomcat server
At this point, a window named Catalina appears with some initialization information to prove that Tomcat is running successfully.
Step Fourth, enter http://localhost:8080 on the browser
If you can see the Tomcat Version 4.0 page, the Tomcat installation is successful. There are some examples of JSP and servlet, the JSP environment is completed.
Note: Windows Catalina cannot be turned off or the Tomcat server stops service
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.