// Inbergong10: 22 2003-11-11 Article credibility: 99%
Java environment configuration in Windows 2000 environment
Java environment configuration in Windows 2000 environment
1. Download J2SDK-1_4_1_01-windows-i586.exe from java.sun.com
2. Install the J2SDK-1_4_1_01-windows-i586.exe to the C: / J2SDK directory
3. Download Jakarta-Tomcat-4.1.17.exe from Jakarta.apache.org
4. Install Jakarta-Tomcat-4.1.17.exe to the C: / Tomcat 4.1 directory
5. Select "Start" - Settings - "Control Panel" - System - "Advanced" - Environment Variables
6. New system variable java_home in the system variable column, the variable value is C: / J2SDK
7. New system variables in the system variable column Catalina_Home, the variable value is C: / Tomcat 4.1
8. Modify the system variable in the system variable column PATH, join C: / J2SDK / BIN
9. New system variable ClassPath in the system variable column, the variable value is C: /J2SDK/LIB/Tools.jar; C: / Tomcat 4.1 / Common / lib / servlet.jar
10. Log out that the current user makes the configuration of the system variables take effect.
11. Start Tomcat
Database Connectivity:
Connect MSSQL
No data source is directly connected in JSP directly to SQLServer database
You can directly connect the SQL database without the need to build a data source. The premise is to install the JDBC driver of SQLServer2000. To address:
JDBCFORSQL2000Setup.exe
download.
After installing three files in the C: / PrigRam Files / Microsoft SQL Server 2000 Driver for JDBC / LIB directory, you can.
/
Related Resources: Let Win2000 are compatible with all procedures