Beginners: Jsp environment Configuration

Source: Internet
Author: User

Part 1 installation in the JAVA environment

1. The latest J2SDK version is 1.4.2 _ 01,: http://java.sun.com/j2se/1.4.2/download.html
Download NetBeans IDE v 3.5.1 with J2SE v 1.4.2 COBUNDLE
Use NetBeans IDE v 3.5.1 that includes J2SE v 1.4.2


2. Install! Each of my steps:



3. Change the directory. "The installation path should not contain spaces "! It is sometimes difficult to tell whether "Program Files" represents a folder or "Program" or "Files ".









4. Configure Environment Variables


5. Create System Variables


6. Create the first system variable: JAVA_HOME; Value: C: j2sdk_nbj2sdk1.4.2


7. Create the second system variable: CLASSPATH value:.; % JAVA_HOME % lib


8. Note! Yes, not new.
System variable: the new value of PATH is % JAVA_HOME % in before the original value;


9. Check whether the j2sdk installation and environment variable settings are correct.


So the display completely matches the new one. OK!
Then we can use. java to compile and execute it as a class.


Part 2 tomcat (a very useful JSP running platform) v5.0.16 Installation

1. download the latest tomcat (a very useful JSP running platform) v5.0.16
Http://www.apache (the most popular WEB server platform for Unix). org/dist/jakarta/tomcat (a good JSP running platform)-5/v5.0.16/bin/


2. install tomcat (a good JSP running platform) v5.0.16


Select Custom


3. Set the path.



4. The JVM is automatically searched here. If you see "No Java Virtual machine Found", the Java Virtual machine cannot be Found.
It indicates that your system variables have not been set.
Http://www.cnbruce.com/blog/showlog.asp? Cat_id = 26 & log_id = 295
"JAVA environment installation" has been explained





5. Run binstartup. bat in the tomcat directory (a good JSP running platform. Start tomcat (a good JSP running platform ).


6. if a dos window stays closed, and some running success tomcat (a very useful JSP running platform) and initialization information, it proves tomcat (a very useful JSP running platform) run successfully.


7. Enter in the browser address bar

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.