I have
java version j2sdk1.4.2_13 installed in C:\j2sdk1.4.2_13 and SQL Server 2005 . I downloaded the
JDBC driver version 1.0 from Microsoft website and extracted the contents in C:\Temp. Now will compiling the DataConnect (a simple java connectivity code straight from micro API) i get the following error
"DataConnect.java:12: unreported exception java.lang.ClassNotFoundException; must
be caught or declared to be thrown Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver");" .I set the classpath also using the following command
set CLASSPATH=.;C:\Temp\sqljdbc_1.0\enu\sqljdbc.jar still the same error please help
The jdbc connectivity code is