运行SQL Server 2000 Driver for JDBC Service Pack 1.exe,安装驱动,并且将环境变量设置成:
C:\Program Files\Microsoft SQL Server 2000 Driver for JDBC\lib\msbase.jar;
C:\Program Files\Microsoft SQL Server 2000 Driver for JDBC\lib\mssqlserver.jar;
C:\Program Files\Microsoft SQL Server 2000 Driver for JDBC\lib\msutil.jar;
并将这三个文件拷贝到C:\Java\jdk1.5.0\jre\lib\ext下
即可。