Beginners Classic: JSP environment configuration Complete diagram

Source: Internet
Author: User
Tags variables variable tomcat netbeans
JS the first part of the Java environment installation

1, the latest version of the current j2sdk is 1.4.2_01, download address: http://java.sun.com/j2se/1.4.2/download.html download NetBeans IDE v 3.5.1 with J2SE V 1.4.2 Cobundle uses NetBeans IDE v 3.5.1 that contains j2se v 1.4.2



2, installation, specific each step:



3, the list of attention to change. "Installation path should not have spaces"! Because sometimes it's hard to tell whether "program Files" represent a single folder or two things for "program" and "Files."















4. Configure Environment variables

5. New system Variable

6, build the first system variable: Java_home value: C:\j2sdk_nb\j2sdk1.4.2

7, build a second system variable: CLASSPATH value:.; %java_home%\lib

8, Attention! is a modification, not a new one. System variable: The new value of PATH is preceded by the previous value plus%java_home%\in;

9, the test J2SDK installation and environment variable settings are correct

So the display is exactly the same as the new ones. Then you can use a. java to compile to class to execute. Part II TOMCATv5.0.16 installation 1, download the latest TOMCATv5.0.16 http://www.apache.org/dist/jakarta/tomcat-5/v5.0.16/bin/

2. Installation TOMCATv5.0.16



Select Custom

3. Set the path yourself



4, where the JVM is automatically found, if you appear "no Java Virtual machine Found" that is, can not find the Java VM. Indicates that your system variables have not been set, and that the setting of the system variables is explained in the http://www.cnbruce.com/blog/showlog.asp?cat_id=26&log_id=295 "Java Environment Installation"







5, run the Tomcat directory in Binstartup.bat. Start Tomcat.

6, if there is a DOS window stays not closed, and some run successfully tomcat and initialization information to prove that Tomcat run successfully.

7, in the browser address bar input http://localhost:8080 cute big cat appears, so far, JSP operating environment set up!

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.