This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
I have a problem when I try to connect java and sql server 2000. An run time error is coming in my program.
Exception in thread "main" java.lang.ClassNotFoundException: new com/microsoft/jdbc/sqlserver/SQLServerDriver() at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:130) at Test.<init>(Test.java:8) at Test.main(Test.java:30)
I try all classpath first I place the msssqlserver.jar, msutil.jar, msbase.jar into jdk1.4\jre\lib\ext but the same above problem is come. Then I make a directory in D drive d:\javasql and place all the jar files into this directory my .java and .class files also and I try these different paths