Complete installation and testing of SQLServer2000 JDBC driver through JSP connection to various databases
Complete installation and testing of SQLServer2000 JDBC Driver (reprinted)
1. Download The jdbc driver of SQLSERVER2000.
This driver is available at the Microsoft Site:
Window Operating System
Http://www.uncj.com/upload/files/ms_jdbc_setup.exe
Http://download.microsoft.com/download/SQLSVR2000/jdbc/2000/NT45XP/EN-US/setup.exe
Unix OS Mssqlserver.tar
Http://download.microsoft.com/download/SQLSVR2000/jdbc/2000/UNIX/EN-US/mssqlserver.tar
Ii. Install JDBC
Execute the ms_jdbc_setup.exe executable file. You only need to click Next to finish to complete the installation.
Note:
(1) The default installation path of ms_JDBC_setup is:
C: Program FilesMicrosoft SQL Server 2000 Driver for JDBC
(2) This Version (Version 2.2.0022) only supports
Microsoft SQL Server 2000 Driver for JDBC
(3) The Three jar files under the installation directory lib are the core of the JDBC driver.
Msbase. jar
Mssqlserver. jar
Msutil. jar
3. Add the Three jar files mentioned in (3) to the environment variables.
Classpath:
C: Program FilesMicrosoft SQL Server 2000 Driver for JDBClibmsbase. jar;
C: Program FilesMicrosoft SQL Server 2000 Driver for JDBClibmssqlserver. jar;
C: Program FilesMicrosoft SQL Server 2000 Driver for JDBClibmsutil. jar
Note: We recommend that you copy the above three files to the lib or class directory of your jvm machine. At this time, I copied it to jre/lib/ext under my jvm directory.