freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
java.lang.ClassNotFoundException: com.internetcds.jdbc.tds.Driver
- From: "Tariq" <thussa AT star-fire.demon.co.uk>
- To: freetds AT franklin.oit.unc.edu
- Subject: java.lang.ClassNotFoundException: com.internetcds.jdbc.tds.Driver
- Date: Tue, 5 Nov 2002 13:00:09 -0500
Hello,
I'm new to TDS, and I'm trying to learn JDBC. I'm running TDS on a Linux
machine, the database is Sybase on a Solaris box. The tsql -S servername
-U userid -P password seems to work fine.
The make check runs all 21 tests successfully.
When I compile a *.java file it compiles succesfully. When I run it using
java program I get:
java.lang.ClassNotFoundException: com.internetcds.jdbc.tds.Driver
at java.net.URLClassLoader$1.run(URLClassLoader.java:196)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:185)
at java.lang.ClassLoader.loadClass(ClassLoader.java:292)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:279)
at java.lang.ClassLoader.loadClass(ClassLoader.java:249)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:308)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:117)
at jdbctest.ftdsjdbc(jdbctest.java:19)
at jdbctest.main(jdbctest.java:59)
Is there some way to get the sample program program I got from the TDS
documentation to find the JDBC API ?
All help appreciated. Thanks in advance.
Regards
Tariq
-
java.lang.ClassNotFoundException: com.internetcds.jdbc.tds.Driver,
Tariq, 11/05/2002
- <Possible follow-up(s)>
- Re: java.lang.ClassNotFoundException: com.internetcds.jdbc.tds.Driver, Alin Sinpalean, 11/06/2002
Archive powered by MHonArc 2.6.24.