File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes Working with JTDS Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Working with JTDS " Watch "Working with JTDS " New topic

Working with JTDS

shashi booshan

Joined: Jun 13, 2008
Posts: 14
hi guys i am new to this JTDS driver.
I have downloaded the JTDS driver 1.2.2.jar.
I am using Netbeans 6 i am not able to use this driver. I read the JTDS documentation but i dint get that.
Can somebody pleases explain me.
I have added the driver in my application but i am getting Class Not Found Exception. please help.



Thanks & Regards
- Shashi
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
How did you add the driver to the application? Does the application work outside of the IDE?
shashi booshan

Joined: Jun 13, 2008
Posts: 14
I added the driver directly to the netbeans ide from the Database Palette .. which is near Servers... but still its throwing me the same exception..
can somebody help me.. its urgent.
Also i want how to configure the JTDS with java application.


Paul Sturrock

Joined: Apr 14, 2004
Posts: 10336

Your JDBC driver needs to be in your application's classpath. Check the classpath.

jTDS has documentation covering the use of its driver. I would start there.
[ November 17, 2008: Message edited by: Paul Sturrock ]

JavaRanch FAQ HowToAskQuestionsOnJavaRanch
I agree. Here's the link:
subject: Working with JTDS
It's not a secret anymore!