JDK + Tomcat installation overview

Source: Internet
Author: User

Step 1: Install jdk
(1) install jdk (default installation)
(2) Under the environment variable, select system variable and choose new:
1) variable name: JAVA_HOME
Variable value: X: jdk ("X" indicates the drive letter for jdk installation)
2) variable name: CLASSPATH
Variable value:.; % java_home % lib; % java_home % libools. jar
Double-click the PATH in the system variable, and add a semicolon and X: jdkin to the variable value.
(3) check whether the installation is successful in cmd. The command is: (java-version)
Step 2 installation: tomcat (a very useful JSP running platform)
(1) install tomcat (a good JSP running platform) (installed by default) and check NTservice.
(2) Open IE and enter http: // localhost: 8080/index. jsp (preferred for SUN Enterprise applications)
3. Step 3: Install MySQL (the best combination with PHP) (default installation)
4. X: omcat (a good JSP running platform) confserver
5. Copy the webpage program to the X: omcat (a good JSP running platform) webapps directory.
6. copy the data folder to the X: MySQL (best combination with PHP) data directory.
7. Copy the driver files to: X: omcat (a good JSP running platform) webdeskweb_inflib.
X: omcat (a good JSP running platform) under the commonlib directory
8. in the system variables under the environment variables, double-click CLASSPATH to split (X: omcat (a very useful JSP running platform) commonlib) and (X: omcat (a very useful JSP running platform) commonlibmm. mySQL (the best combination with PHP)-2.0.4) is copied to the variable value.

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.