[Tips] JSP environment Configuration

Source: Internet
Author: User

Install JDK

Download jdk5.0update6
Install JDK. default path: C:/program files/Java/jdk1.5.0 _ 06

Then configure the environment variable
Right-click my computer> Properties> advanced> Environment Variables

Find the path "variable" in "system variables" and click the edit button.
Then add C:/Java/jdk1.5.0 _ 06/bin to the variable value;

Create an environment variable in "system variables"
Enter classpath in "variable name"
Enter C:/Java/jdk1.5.0 _ 06/lib in "variable value ".
Click OK.

Create an environment variable in "system variables"
Enter java_home in "variable name"
Enter C:/Java/jdk1.5.0 _ 06 in "variable value"

Click OK.

So OK.

Enter Java-version in the console

If the JDK version is displayed, the installation is successful.

Install Tomcat

Download tomcat5
Assume that the default installation path is C:/program files/Apache Software Foundation/tomcat 5.5.

During installation, you will be asked to select the server port. If there are no other servers, the default 8080 is used.

Configure the environment variables below

Right-click my computer> Properties> advanced> Environment Variables

Find the path "variable" in "system variables" and click the edit button.
Then add C:/program files/Apache Software Foundation/tomcat 5.5/bin to the variable value;

Create an environment variable in "system variables"
Enter catalina_home in "variable name"
Enter C:/program files/Apache Software Foundation/tomcat 5.5 in "variable value ".

Click OK.

Access http: // localhost: 8088/in IE/

In this case, a web page is displayed in the browser with a kitten. This indicates that Tomcat is successfully installed.

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.