Error in Class not found
When i try to connect SQl 2000 database using JDBC, it gives an error indicating "java.lang.ClassNotFoundException: com.microsoft.jdbc.sqlserver.SQLServerDriver"
I alredy set the CLASSPATH correctly & my JDBC driver also installed into my computer.
Pls any1 who can help me to solve this...........
Thankz
[334 byte] By [
Sana_Boya] at [2007-11-27 6:27:26]

# 3
If you run the program and it doesn't give you a ClassNotFound or NoClassDefFound exception then you've got the classpath set right.
The trick is knowing what it should be set to. For JAR files, your classpath must include the JAR file itself, not the directory containing the JAR file.
Depending upon how you're running the application the classpath may be provided on the command line, set as an environment variable, or placed in a configuration file. Without knowing more about your application it's impossible to advise you further.