Image

Imagekc_kc_kc wrote in Imagejava_dev

Java and SQL Server

Hey guys,

I have a problem.
I'm trying to connect to SQL Server 2000 through a Java Application. I downloaded and installed the appropriate driver and set the CLASSPATH variable to:

CLASSPATH=.;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

And I still get a ClassNotFoundException at:
Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");

Please help?