Installation and configuration of the JSP runtime environment

Source: Internet
Author: User

1. Installation and configuration of JDK

1) Download the JDK, I downloaded the 1-jdk-6u26-windows-i586.exe, placed in the D:\STUDYSYSTEM\JAVAWEB\JDK directory.

2) Install the JDK, directly you download the. exe file can be installed, note that the installation directory to modify their own, the default is the C drive, preferably not on the C drive, my JDK installation directory is D:\Java\jdk1.6.0_26.

3) Configure the environment

Right-click Computer, select Properties, go to the System panel, select Advanced System settings, select environment variables, and set three parameters.

Java_home:d:\java\jdk1.6.0_26

Path:%java_home%\bin

CLASSPATH:.; %java_home%\lib\tools.jar;%java_home%\lib\dt.jar

2. Download Development tools

I'm using eclipse, download the eclipse package, unzip it directly to disk (for example, D:\StudySystem\JavaWeb\eclipse) to open it.

3, the installation and configuration of the server

1) Download the 2-apache-tomcat-6.0.32-windows-x86.zip software package and extract it to a disk partition (for example, D:\StudySystem\JavaWeb\2- apache-tomcat-6.0.32-windows-x86\apache-tomcat-6.0.32) as the Tomcat server directory structure.

2) Configure, open Eclipse, click "Windows", select "preferences", find "Server", click "Runtime Environment", click "Add", select the version of the server you want, I choose 1.6 version. Then click Next, select the Tomcat installation directory, D:\StudySystem\JavaWeb\2-apache-tomcat-6.0.32-windows-x86\apache-tomcat-6.0.32, click Finish to OK. (Note that in the final step, the option values below the JRE are changed to JDK).

3) There is another way to install the server, the server installed directly in the computer kernel, download EXE files, for example, I downloaded the apache-tomcat-7.0.42.exe, click Install. Then find the Bin folder in the installation directory, open Find Tomcat7.exe, click, the situation appears.

Then click Tomcat7w.exe to find the start start.

4) Testing the Tomcat server

If you enter http://localhost:8080 or http://127.0.0.1:8080/in the browser address bar, the situation will occur.

Installation and configuration of the JSP runtime environment

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.