一,下载并安装Microsoft SQL Server 2000 Driver for JDBC软件开发包
设置CLASSPATH为安装软件包中lib文件夹中jar的路径如:
C:/Program Files/Microsoft SQL Server 2000 Driver for JDBC/lib/msbase.jar;
C:/Program Files/Microsoft SQL Server 2000 Driver for JDBC/lib/msutil.jar;
C:/Program Files/Microsoft SQL Server 2000 Driver for JDBC/lib/mssqlserver.jar
如果使用开发工具请在相应的开发工具中设置CLASSPATH