Can't connect

hi,

I have just started with JDBC(newbie).

I have MS SQL server 2000 which I tried to connect using JDBC, but I always get ClassNotFoundException.

I m using type 4 driver which I downloaded from MS web site.

I have even added the jar files in the classpath but still no use.

Please help........

[331 byte] By [Purujita] at [2007-11-27 10:35:57]
# 1

> hi,

>

> I have just started with JDBC(newbie).

>

> I have MS SQL server 2000 which I tried to connect

> using JDBC, but I always get ClassNotFoundException.

OK.

> I have even added the jar files in the classpath but still no use.

If you have the JAR and you still get CNF, then you didn't add it to CLASSPATH properly. Better check your assumptions. How did you add it?

When you add it to CLASSPATH properly it'll work. Hint: a system environment CLASSPATH variable is not the right way.

%

duffymoa at 2007-7-28 18:38:07 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...