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