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_nb/j2sdk1.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 atatv5.0.16 Installation
1. download the latest atatv5.0.16
Http://www.apache.org/dist/jakarta/tomcat-5/v5.0.16/bin/
2. Install tomcatv5.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. Start Tomcat.
6. If a DOS window remains closed, and some information about successful running Tomcat and initialization proves that Tomcat is running successfully.
7. Enter http: // localhost: 8080 in the address bar of the browser.
The cute big cat appears. Now, the JSP runtime environment has been set up!