Archives of the TeradataForum
Message Posted: Wed, 02 Jun 2004 @ 18:21:24 GMT
Subj: | | JDBC / JAVA |
|
From: | | McBride, Michael |
I have just installed the new JDBC driver and am using the NetBeans IDE 3.6 from sun website.
I keep getting this error in the sample application:
java.lang.ClassNotFoundException: com.ncr.teradata.TeraDriver at Teradata_test.main(Teradata_test.java:13)
This is line 13 of the sample application:
Class.forName("com.ncr.teradata.TeraDriver").newInstance();
This is my CLASSPATH environment variable: (I used the default install path)
C:\Program Files\NCR\TeraJDBC\classes\terajdbc4.jar;
C:\Program Files\NCR\TeraJDBC\classes\gui.jar;
C:\Program Files\NCR\TeraJDBC\classes\tdgssjava.jar;
C:\j2sdk1.4.2_04\jre\lib\ext; (This is for the jndi.jar, fscontext.jar, and providerutil.jar files)
Michael E. McBride
Teradata Certified Master
Teradata Database Administrator
Data Architect and Data Warehouse Practitioner
American Eagle Outfitters
|